Commit 160e936b authored by Dan McGee's avatar Dan McGee Committed by Pierre Schmitz
Browse files

commitpkg: add '-y' to rsyncopts



This allows uploads to possibly be smaller if a similar file exists
nearby without the same name. Unlikely in most cases, but we might as
well take advantage if they do exist:

Signed-off-by: default avatarDan McGee <dan@archlinux.org>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent 69f9e64a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ for i in 'changelog' 'install'; do
done

# see if any limit options were passed, we'll send them to rsync
rsyncopts="-e ssh -p --chmod 'ug=rw,o=r' -c -h -L --progress --partial"
rsyncopts="-e ssh -p --chmod 'ug=rw,o=r' -c -h -L --progress --partial -y"
if [ "$1" = '-l' ]; then
	rsyncopts="$rsyncopts --bwlimit=$2"
	shift 2