From 51b5d69cfc8ae10a930fb90dc3856d32c75ad047 Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <archlinux@cryptocrack.de>
Date: Fri, 12 Aug 2011 15:16:27 +0200
Subject: [PATCH] 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 8384ad849dfe308ed3e63e252785b9a6f80474f5.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
---
 archrelease | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
GitLab