diff options
author | Dan McGee <dan@archlinux.org> | 2012-10-13 17:28:52 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-10-13 20:40:09 +0200 |
commit | f7615fe7d7eb6601a487b3e9a0da3668b1ff53ee (patch) | |
tree | 26005c92cc30858a2055f1a1866f783c73ef8e12 /archrelease.in | |
parent | 1703b92e1a2aa1947d33a666d4c67d8e40f6ffbc (diff) | |
download | devtools-f7615fe7d7eb6601a487b3e9a0da3668b1ff53ee.tar.gz devtools-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>
Diffstat (limited to 'archrelease.in')
-rw-r--r-- | archrelease.in | 2 |
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" |