diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2019-12-21 14:30:22 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2019-12-21 14:30:22 -0800 |
commit | b21bf89ff3164c0f9c54f403e71abd4b8f9beb2d (patch) | |
tree | 3457da6b031bd6f2169be6e92e1be57cce031608 | |
parent | snapshots-create.sh: fix cleanup of EXCLUSION_LIST (diff) | |
download | mastermirror-scripts-20191221T144059Z.tar.gz mastermirror-scripts-20191221T144059Z.tar.bz2 mastermirror-scripts-20191221T144059Z.zip |
snapshots-create.sh: support alt vars source20191221T144059Z
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | snapshots-create.sh | 3 |
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 |