diff options
Diffstat (limited to 'tools/builder_defaults.sh')
-rw-r--r-- | tools/builder_defaults.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh index 69a956d..7ebee6d 100644 --- a/tools/builder_defaults.sh +++ b/tools/builder_defaults.sh @@ -62,14 +62,14 @@ if [ -z "${BUILDER_ROOT}" ]; then exit 1 fi -if [ -d "${BUILDER_ROOT}" ]; then +if [ ! -d "${BUILDER_ROOT}" ]; then echo ">>> ERROR: BUILDER_ROOT is invalid" exit 1 fi export BUILDER_TOOLS=${BUILDER_TOOLS:-"${BUILDER_ROOT}/tools"} -if [ -d "${BUILDER_TOOLS}" ]; then +if [ ! -d "${BUILDER_TOOLS}" ]; then echo ">>> ERROR: BUILDER_TOOLS is invalid" exit 1 fi |