summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-03-06 19:47:37 -0500
committerAlec Warner <antarus@gentoo.org>2018-03-06 19:47:37 -0500
commit52a01b3b3719e45d9a4f13cad6db9b0c0e056530 (patch)
tree2dbd4a5bfc67cc820e6d1cda13a1f129e43beebe
parentrsync-gen.sh: Fix not restoring Manifests (diff)
downloadmastermirror-scripts-52a01b3b3719e45d9a4f13cad6db9b0c0e056530.tar.gz
mastermirror-scripts-52a01b3b3719e45d9a4f13cad6db9b0c0e056530.tar.bz2
mastermirror-scripts-52a01b3b3719e45d9a4f13cad6db9b0c0e056530.zip
Switch to using fully qualified prefix.production
Other parts of the script already use /usr/local/bin/mastermirror as a prefix for fully specified paths; so do it for exclusions too.
-rwxr-xr-xsnapshots-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/snapshots-create.sh b/snapshots-create.sh
index 5a444f4..f6af8ac 100755
--- a/snapshots-create.sh
+++ b/snapshots-create.sh
@@ -84,7 +84,7 @@ write_time_log "START TARBALL $(date -u)"
if [ ! -f "${FILENAME%.bz2}" ]; then
# Build exclusion list
EXCLUSION_LIST="$(mktemp -p ${TEMP} snapshot-exclude.XXXXXXXXXX)"
- "$(dirname $0)"/print-exclusion-list.sh "${MASTER}" >"${EXCLUSION_LIST}"
+ /usr/local/bin/mastermirror/print-exclusion-list.sh "${MASTER}" >"${EXCLUSION_LIST}"
TAR_OPTIONS=(
# Force a small block size