diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-02-12 01:07:45 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-02-12 01:07:45 +0100 |
commit | d440e5998d1dfbc7942989df837772330b8331ee (patch) | |
tree | efe3d2318b5295a81d92bcabccccc9b08867d7a9 | |
parent | 611314a740db4fe16813c9b127b6c86521adf0ee (diff) | |
download | devtools-d440e5998d1dfbc7942989df837772330b8331ee.tar.gz devtools-d440e5998d1dfbc7942989df837772330b8331ee.tar.xz |
copy files seperately to avoid escaping problems
-rwxr-xr-x | commitpkg | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |