diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-12 15:16:27 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-08-13 20:20:21 +0200 |
commit | 51b5d69cfc8ae10a930fb90dc3856d32c75ad047 (patch) | |
tree | d23aaae84ba15a1195fa711c2e3cd74c20262612 /archrelease | |
parent | 30bcca88d324dc1bf16fb10da72739d9b1d89874 (diff) | |
download | devtools32-51b5d69cfc8ae10a930fb90dc3856d32c75ad047.tar.xz |
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>
Diffstat (limited to 'archrelease')
-rwxr-xr-x | 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 |