[arch-projects] [PATCH] archrelease: Fix removal of repository content
Lukas Fleischer
archlinux at cryptocrack.de
Fri Aug 12 09:16:27 EDT 2011
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 8384ad849dfe308ed3e63e252785b9a6f80474f5.
Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
Dan broke it!!!1!
archrelease | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/archrelease b/archrelease
index 3d32e6f..0eb3afa 100755
--- a/archrelease
+++ b/archrelease
@@ -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
--
1.7.6
More information about the arch-projects
mailing list