summaryrefslogtreecommitdiffstats
path: root/tools/builder_defaults.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/builder_defaults.sh')
-rw-r--r--tools/builder_defaults.sh4
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
OpenPOWER on IntegriCloud