diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-25 12:11:15 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-25 14:49:58 -0300 |
commit | 77308bce20349577191347a239ea525c7df4f0e6 (patch) | |
tree | 749e4ed007bbfd81a7f94da93bad1c4cfa683986 | |
parent | 81ec005db3334335429fa3c2407a4de099d83bd2 (diff) | |
download | pfsense-77308bce20349577191347a239ea525c7df4f0e6.zip pfsense-77308bce20349577191347a239ea525c7df4f0e6.tar.gz |
Fix reverse check
-rw-r--r-- | tools/builder_common.sh | 1 | ||||
-rw-r--r-- | tools/builder_defaults.sh | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh index 15aa435..46e4c6b 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -1641,7 +1641,6 @@ installkernel() { # Launch is ran first to setup a few variables that we need # Imported from FreeSBIE launch() { - if [ ! -f $SCRATCHDIR/${PRODUCT_NAME}_builder_set_time ]; then echo ">>> Updating system clock..." ntpdate 0.freebsd.pool.ntp.org 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 |