summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-20 08:15:01 -0300
committerRenato Botelho <renato@netgate.com>2016-05-20 08:15:10 -0300
commit92a1044dadde041711cc8dc69024d7a6705c9b8c (patch)
tree71dea5762050f45ff41da4a468f2ef790ba4ca70 /tools/builder_common.sh
parent335f1a8977cf0f711c712864379773e410e996a5 (diff)
downloadpfsense-92a1044dadde041711cc8dc69024d7a6705c9b8c.zip
pfsense-92a1044dadde041711cc8dc69024d7a6705c9b8c.tar.gz
Create core repo early and send it to staging area
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 385c1c5..3bc36df 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -1854,11 +1854,16 @@ finish() {
pkg_repo_rsync() {
local _repo_path_param="${1}"
+ local _ignore_final_rsync="${2}"
if [ -z "${_repo_path_param}" -o ! -d "${_repo_path_param}" ]; then
return
fi
+ if [ -n "${SKIP_FINAL_RSYNC}" ]; then
+ _ignore_final_rsync="1"
+ fi
+
# Sanitize path
_repo_path=$(realpath ${_repo_path_param})
@@ -1936,7 +1941,7 @@ pkg_repo_rsync() {
print_error_pfS
fi
- if [ -z "${USE_PKG_REPO_STAGING}" -o -n "${SKIP_FINAL_RSYNC}" ]; then
+ if [ -z "${USE_PKG_REPO_STAGING}" -o -n "${_ignore_final_rsync}" ]; then
return
fi
OpenPOWER on IntegriCloud