summaryrefslogtreecommitdiffstats
path: root/tools/builder_defaults.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-25 12:11:15 -0300
committerRenato Botelho <renato@netgate.com>2015-08-25 14:49:58 -0300
commit77308bce20349577191347a239ea525c7df4f0e6 (patch)
tree749e4ed007bbfd81a7f94da93bad1c4cfa683986 /tools/builder_defaults.sh
parent81ec005db3334335429fa3c2407a4de099d83bd2 (diff)
downloadpfsense-77308bce20349577191347a239ea525c7df4f0e6.zip
pfsense-77308bce20349577191347a239ea525c7df4f0e6.tar.gz
Fix reverse check
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