summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-03 08:13:28 -0300
committerRenato Botelho <renato@netgate.com>2015-09-03 08:13:28 -0300
commit49784c55a338cf08d969bf46f785d395e4325e8d (patch)
treea9525b4fdd0276f11ea2eb01a957cebdc4e1fd5d /build.sh
parentf238a83f3f559d31c56caafec3923d2f722ec307 (diff)
downloadpfsense-49784c55a338cf08d969bf46f785d395e4325e8d.zip
pfsense-49784c55a338cf08d969bf46f785d395e4325e8d.tar.gz
Check rsync variables required to update package repos
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 8cd1add..7f97e5d 100755
--- a/build.sh
+++ b/build.sh
@@ -288,7 +288,19 @@ if [ "${BUILDACTION}" != "images" ]; then
fi
if [ -n "${SNAPSHOTS}" -a -z "${DO_NOT_UPLOAD}" ]; then
- for _var in RSYNCIP RSYNCUSER RSYNCPATH RSYNCLOGS; do
+ _required=" \
+ RSYNCIP \
+ RSYNCUSER \
+ RSYNCPATH \
+ RSYNCLOGS \
+ PKG_RSYNC_HOSTNAME \
+ PKG_RSYNC_USERNAME \
+ PKG_RSYNC_SSH_PORT \
+ PKG_RSYNC_DESTDIR \
+ PKG_REPO_SERVER \
+ PKG_REPO_CONF_BRANCH"
+
+ for _var in "${_required}"; do
eval "_value=\${$_var}"
if [ -z "${_value}" ]; then
echo ">>> ERROR: ${_var} is not defined"
OpenPOWER on IntegriCloud