summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2019-12-21 14:29:20 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2019-12-21 14:29:20 -0800
commit00e0e15afe111bd3d12f6defb2ebca390417da7b (patch)
tree654f61cc3d5b28e2394dbbd40e3bd6c22b9081e1
parentsnapshots-create.sh: fix overquoting (diff)
downloadmastermirror-scripts-00e0e15afe111bd3d12f6defb2ebca390417da7b.tar.gz
mastermirror-scripts-00e0e15afe111bd3d12f6defb2ebca390417da7b.tar.bz2
mastermirror-scripts-00e0e15afe111bd3d12f6defb2ebca390417da7b.zip
snapshots-create.sh: fix cleanup of EXCLUSION_LIST
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xsnapshots-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/snapshots-create.sh b/snapshots-create.sh
index 06e41eb..c6c3690 100755
--- a/snapshots-create.sh
+++ b/snapshots-create.sh
@@ -171,7 +171,6 @@ if [ ! -f "${FILENAME%.bz2}" ]; then
exit 1
fi
fi
-rm -f "${EXCLUSION_LIST}" # Not needed after this
write_time_log "END TARBALL(tar,old) $(date -u)"
write_time_log "START TARBALL(umd5,old) $(date -u)"
if [ ! -f " ${FILENAME}.umd5sum" ]; then
@@ -357,6 +356,7 @@ cd "${TEMP}"
rm -f orig \
"${FILENAME%.bz2}"{.bz2,.xz}{,.umd5sum} \
"${FILENAME_NEW%.xz}"{.bz2,.xz}{,.umd5sum} \
+ "${EXCLUSION_LIST}" \
|| exit $?
/usr/bin/find "${UPLOAD}" \
-maxdepth 1 \