diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2019-12-21 14:29:20 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2019-12-21 14:29:20 -0800 |
commit | 00e0e15afe111bd3d12f6defb2ebca390417da7b (patch) | |
tree | 654f61cc3d5b28e2394dbbd40e3bd6c22b9081e1 | |
parent | snapshots-create.sh: fix overquoting (diff) | |
download | mastermirror-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-x | snapshots-create.sh | 2 |
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 \ |