Make sure to not use variables that dont exist on if cases

This commit is contained in:
Martinvlba 2023-07-05 13:39:07 +03:00
parent 6df5f09917
commit 7a32423354

View File

@ -2,7 +2,7 @@
# Export some needed things for head script to work with
##
if [ "${TOOL_TEMP}" = "${TOOL_OUT}/tmp" ]; then
if [ -d "$(pwd)/build/toolset" ]; then
# Export variables that are needed for usage of TOOL
export SHOW_DEBUG=false
export ROOT=$P_ROOT