copy files seperately to avoid escaping problems
This commit is contained in:
parent
611314a740
commit
d440e5998d
|
@ -71,7 +71,6 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for _arch in ${arch[@]}; do
|
for _arch in ${arch[@]}; do
|
||||||
pkgfiles=''
|
|
||||||
for _pkgname in ${pkgname[@]}; do
|
for _pkgname in ${pkgname[@]}; do
|
||||||
pkgfile=$_pkgname-$pkgver-$pkgrel-${_arch}$PKGEXT
|
pkgfile=$_pkgname-$pkgver-$pkgrel-${_arch}$PKGEXT
|
||||||
|
|
||||||
|
@ -82,9 +81,8 @@ for _arch in ${arch[@]}; do
|
||||||
continue 2
|
continue 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pkgfiles="${pkgfiles} ${pkgfile}"
|
rsync -c -h --progress $rsyncopts "${pkgfile}" -e ssh $server:staging/$repo || abort
|
||||||
done
|
done
|
||||||
rsync -c -h --progress $rsyncopts "${pkgfiles}" -e ssh $server:staging/$repo || abort
|
|
||||||
archrelease $repo-${_arch} || abort
|
archrelease $repo-${_arch} || abort
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue