summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-03 08:05:26 -0300
committerRenato Botelho <renato@netgate.com>2015-09-03 08:05:26 -0300
commitab54d7171f5d469ddbaea5211d0d5693f1c96984 (patch)
treec7a60fece77065b325a5a25fc92ae74515cfa2e4 /build.sh
parenta7a0034182027d0cb4935867fc5d56e0fd8e2b07 (diff)
downloadpfsense-ab54d7171f5d469ddbaea5211d0d5693f1c96984.zip
pfsense-ab54d7171f5d469ddbaea5211d0d5693f1c96984.tar.gz
Remove redundant checks
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index a3f9f8f..d310ce2 100755
--- a/build.sh
+++ b/build.sh
@@ -288,22 +288,22 @@ if [ "${BUILDACTION}" != "images" ]; then
fi
if [ -n "${SNAPSHOTS}" -a -z "${DO_NOT_UPLOAD}" ]; then
- if [ -z "${RSYNCIP}" -a -z "${DO_NOT_UPLOAD}" ]; then
+ if [ -z "${RSYNCIP}" ]; then
echo ">>> ERROR: RSYNCIP is not defined"
exit 1
fi
- if [ -z "${RSYNCUSER}" -a -z "${DO_NOT_UPLOAD}" ]; then
+ if [ -z "${RSYNCUSER}" ]; then
echo ">>> ERROR: RSYNCUSER is not defined"
exit 1
fi
- if [ -z "${RSYNCPATH}" -a -z "${DO_NOT_UPLOAD}" ]; then
+ if [ -z "${RSYNCPATH}" ]; then
echo ">>> ERROR: RSYNCPATH is not defined"
exit 1
fi
- if [ -z "${RSYNCLOGS}" -a -z "${DO_NOT_UPLOAD}" ]; then
+ if [ -z "${RSYNCLOGS}" ]; then
echo ">>> ERROR: RSYNCLOGS is not defined"
exit 1
fi
OpenPOWER on IntegriCloud