Skip to content
This repository was archived by the owner on Feb 7, 2021. It is now read-only.

Commit 20fe3af

Browse files
authored
Actually delete the previous files
1 parent 24ac516 commit 20fe3af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

svn-backup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ for repo in "$repo_dir"/*; do
2323
revision=$($svnlook youngest "$repo")
2424
target="$backup_dir/$name-$revision.xz"
2525
if [ ! -e "$target" ]; then
26-
rm -f "$backup_dir/$name-*.xz"
26+
rm -f "$backup_dir/$name"-*.xz
2727
nice $svnadmin dump --deltas --quiet "$repo" | xz --compress --stdout -9 --extreme > "$target"
2828
fi
2929
done

0 commit comments

Comments
 (0)