archrelease: Fix removal of repository content
Fix the `svn rm` invocation when releasing to a repository that already
contains some files. `svn ls` only returns basenames, so we need to
prepend the path here.
Regression introduced in 8384ad849d
.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
parent
30bcca88d3
commit
51b5d69cfc
|
@ -31,7 +31,7 @@ echo -n "releasing package to ${1}..."
|
|||
pushd .. >/dev/null
|
||||
if [ -d "repos/${1}" ]; then
|
||||
for file in $(svn ls "repos/${1}"); do
|
||||
svn rm -q "$file"
|
||||
svn rm -q "repos/${1}/$file"
|
||||
done
|
||||
fi
|
||||
if [ ! -d repos ]; then
|
||||
|
|
Loading…
Reference in New Issue