Skip to content
Snippets Groups Projects
Commit 51b5d69c authored by Lukas Fleischer's avatar Lukas Fleischer Committed by Pierre Schmitz
Browse files

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 8384ad84.

Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent 30bcca88
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ echo -n "releasing package to ${1}..." ...@@ -31,7 +31,7 @@ echo -n "releasing package to ${1}..."
pushd .. >/dev/null pushd .. >/dev/null
if [ -d "repos/${1}" ]; then if [ -d "repos/${1}" ]; then
for file in $(svn ls "repos/${1}"); do for file in $(svn ls "repos/${1}"); do
svn rm -q "$file" svn rm -q "repos/${1}/$file"
done done
fi fi
if [ ! -d repos ]; then if [ ! -d repos ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment