diff options
author | Renato Botelho <renato@netgate.com> | 2016-05-20 08:15:01 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-05-20 08:15:27 -0300 |
commit | a2a0e99580665c7d715cc99ade99dfe9accacbdd (patch) | |
tree | 66a96356c3328857aef7ef4b10cb10606045e7d2 /tools | |
parent | 1e5239d102e75d0df1f7a2e8a9988073f3fbad2f (diff) | |
download | pfsense-a2a0e99580665c7d715cc99ade99dfe9accacbdd.zip pfsense-a2a0e99580665c7d715cc99ade99dfe9accacbdd.tar.gz |
Create core repo early and send it to staging area
Diffstat (limited to 'tools')
-rw-r--r-- | tools/builder_common.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh index 8043e23..a0ced5f 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 |