index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <d@falconindy.com> | 2011-08-16 21:35:59 -0400 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-08-18 10:11:27 +0200 |
commit | e1312ec493ffaaf09ac63194de39cd64dfb9f4a4 (patch) | |
tree | 50a6248e4b58ef065e582a8046f35d3269d9d047 /archrelease | |
parent | e652dc8085314a1002305494078e4f276448e4a9 (diff) |
-rwxr-xr-x | archrelease | 8 |
diff --git a/archrelease b/archrelease index 8da8b95..20ccd50 100755 --- a/archrelease +++ b/archrelease @@ -30,9 +30,11 @@ fi 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 "repos/${1}/$file" - done + declare -a trash + while read -r file; do + trash+=("repos/$1/$file") + done < <(svn ls "repos/$1") + svn rm -q "${trash[@]}" fi if [ ! -d repos ]; then mkdir repos |