summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-08-23 17:14:34 -0300
committerRenato Botelho <renato@netgate.com>2017-08-23 17:16:00 -0300
commit25c86b03ea8dfa4cea04a82e4694991c88c317cd (patch)
tree8b991793d0241c3ffe6f23c3692414e7eaa87379 /tools/builder_common.sh
parent701e028a359475787adf24726da6d48db4cabfa7 (diff)
downloadpfsense-25c86b03ea8dfa4cea04a82e4694991c88c317cd.zip
pfsense-25c86b03ea8dfa4cea04a82e4694991c88c317cd.tar.gz
Change default to never upload files and add a new option to do it
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 910080f..71d32f6 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -1964,7 +1964,7 @@ pkg_repo_rsync() {
fi
fi
- if [ -n "${DO_NOT_UPLOAD}" ]; then
+ if [ -z "${UPLOAD}" ]; then
return
fi
@@ -2382,7 +2382,7 @@ poudriere_bulk() {
LOGFILE=${BUILDER_LOGS}/poudriere.log
- if [ -z "${DO_NOT_UPLOAD}" -a -z "${PKG_RSYNC_HOSTNAME}" ]; then
+ if [ -n "${UPLOAD}" -a -z "${PKG_RSYNC_HOSTNAME}" ]; then
echo ">>> ERROR: PKG_RSYNC_HOSTNAME is not set"
print_error_pfS
fi
OpenPOWER on IntegriCloud