[arch-projects] [PATCH] [devtools] Fix releasing files with '@' in name
Dan McGee
dan at archlinux.org
Sat Oct 13 11:28:52 EDT 2012
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 at archlinux.org>
---
archrelease.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
--
1.7.12.2
More information about the arch-projects
mailing list