summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-10-13 10:28:52 -0500
committerPierre Schmitz <pierre@archlinux.de>2012-10-13 20:40:09 +0200
commitf7615fe7d7eb6601a487b3e9a0da3668b1ff53ee (patch)
tree26005c92cc30858a2055f1a1866f783c73ef8e12
parent1703b92e1a2aa1947d33a666d4c67d8e40f6ffbc (diff)
downloaddevtools-f7615fe7d7eb6601a487b3e9a0da3668b1ff53ee.tar.xz
Fix releasing files with '@' in name
SVN treats '@' as a revision specifier, so with the addition of systemd spawning service files, we need to ensure it doesn't screw things up. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rw-r--r--archrelease.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/archrelease.in b/archrelease.in
index 533a547..2e742c2 100644
--- a/archrelease.in
+++ b/archrelease.in
@@ -66,7 +66,7 @@ for tag in "$@"; do
while read -r file; do
trash+=("repos/$tag/$file")
done < <(svn ls "repos/$tag")
- [[ $trash ]] && svn rm -q "${trash[@]}"
+ [[ $trash ]] && svn rm -q "${trash[@]/%/@}"
else
mkdir -p "repos/$tag"
svn add --parents -q "repos/$tag"