summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-16 09:55:22 -0300
committerRenato Botelho <renato@netgate.com>2016-05-16 09:55:22 -0300
commite362ec5bced3a97a0732577b3debe355158eb85d (patch)
tree67b6d4acca9dfe4567b7453bcaa9c277096bac48
parente2cc8b1861eda9f7a0cc8da21ad2849493f9f1ea (diff)
downloadpfsense-e362ec5bced3a97a0732577b3debe355158eb85d.zip
pfsense-e362ec5bced3a97a0732577b3debe355158eb85d.tar.gz
Do not send files to final place if hostname is empty
-rw-r--r--tools/builder_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 545c009..2a183b3 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -1938,7 +1938,7 @@ pkg_repo_rsync() {
print_error_pfS
fi
- if [ -z "${USE_PKG_REPO_STAGING}" ]; then
+ if [ -z "${USE_PKG_REPO_STAGING}" -o -z "${PKG_FINAL_RSYNC_HOSTNAME}" ]; then
return
fi
OpenPOWER on IntegriCloud