summaryrefslogtreecommitdiffstats
path: root/archrelease.in
diff options
context:
space:
mode:
Diffstat (limited to 'archrelease.in')
-rw-r--r--archrelease.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/archrelease.in b/archrelease.in
index 7bb4c8a..2f7725e 100644
--- a/archrelease.in
+++ b/archrelease.in
@@ -46,7 +46,7 @@ for tag in "$@"; do
while read -r file; do
trash+=("repos/$tag/$file")
done < <(svn ls "repos/$tag")
- svn rm -q "${trash[@]}"
+ [[ $trash ]] && svn rm -q "${trash[@]}"
else
mkdir -p "repos/$tag"
svn add --parents -q "repos/$tag"