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>
This commit is contained in:
parent
1703b92e1a
commit
f7615fe7d7
|
@ -66,7 +66,7 @@ for tag in "$@"; do
|
||||||
while read -r file; do
|
while read -r file; do
|
||||||
trash+=("repos/$tag/$file")
|
trash+=("repos/$tag/$file")
|
||||||
done < <(svn ls "repos/$tag")
|
done < <(svn ls "repos/$tag")
|
||||||
[[ $trash ]] && svn rm -q "${trash[@]}"
|
[[ $trash ]] && svn rm -q "${trash[@]/%/@}"
|
||||||
else
|
else
|
||||||
mkdir -p "repos/$tag"
|
mkdir -p "repos/$tag"
|
||||||
svn add --parents -q "repos/$tag"
|
svn add --parents -q "repos/$tag"
|
||||||
|
|
Loading…
Reference in New Issue