summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archrelease.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/archrelease.in b/archrelease.in
index 2f6a563..7bb4c8a 100644
--- a/archrelease.in
+++ b/archrelease.in
@@ -52,9 +52,8 @@ for tag in "$@"; do
svn add --parents -q "repos/$tag"
fi
- for file in "${known_files[@]}"; do
- svn copy -q -r HEAD "$trunk/$file" "repos/$tag/"
- done
+ # copy all files at once from trunk to the subdirectory in repos/
+ svn copy -q -r HEAD ${known_files[@]/#/$trunk/} "repos/$tag/"
echo 'done'
done