Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archrelease
diff options
context:
space:
mode:
Diffstat (limited to 'archrelease')
-rwxr-xr-xarchrelease8
1 files changed, 5 insertions, 3 deletions
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