summaryrefslogtreecommitdiff
path: root/commitpkg
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-02-12 01:07:45 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-02-12 01:07:45 +0100
commitd440e5998d1dfbc7942989df837772330b8331ee (patch)
treeefe3d2318b5295a81d92bcabccccc9b08867d7a9 /commitpkg
parent611314a740db4fe16813c9b127b6c86521adf0ee (diff)
copy files seperately to avoid escaping problems
Diffstat (limited to 'commitpkg')
-rwxr-xr-xcommitpkg4
1 files changed, 1 insertions, 3 deletions
diff --git a/commitpkg b/commitpkg
index cca96d8..3873169 100755
--- a/commitpkg
+++ b/commitpkg
@@ -71,7 +71,6 @@ else
fi
for _arch in ${arch[@]}; do
- pkgfiles=''
for _pkgname in ${pkgname[@]}; do
pkgfile=$_pkgname-$pkgver-$pkgrel-${_arch}$PKGEXT
@@ -82,9 +81,8 @@ for _arch in ${arch[@]}; do
continue 2
fi
- pkgfiles="${pkgfiles} ${pkgfile}"
+ rsync -c -h --progress $rsyncopts "${pkgfile}" -e ssh $server:staging/$repo || abort
done
- rsync -c -h --progress $rsyncopts "${pkgfiles}" -e ssh $server:staging/$repo || abort
archrelease $repo-${_arch} || abort
done