aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsnapshots-create.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/snapshots-create.sh b/snapshots-create.sh
index c6c3690..1123422 100755
--- a/snapshots-create.sh
+++ b/snapshots-create.sh
@@ -12,7 +12,8 @@
# 8) clean up old deltas
umask 022
-source /usr/local/bin/mastermirror/rsync-gen.vars
+RSYNC_VARS=${RSYNC_VARS:=/usr/local/bin/mastermirror/rsync-gen.vars}
+source "${RSYNC_VARS}" || exit 3
# locations (if used in multiple files, please move to rsync-gen.vars file)
MASTER="${FINALDIR_repo_gentoo}" # the master gentoo-x86 copy