summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-01 16:35:33 -0500
committerPierre Schmitz <pierre@archlinux.de>2011-04-02 00:26:33 +0200
commit160e936bba6afcd011aabdf49d802843e47959a9 (patch)
tree1b0e16b139ea0f9dabed0f3db2e0b3fa00143126
parent69f9e64aa3c14892d8357330cd3694b66958eeee (diff)
downloaddevtools32-160e936bba6afcd011aabdf49d802843e47959a9.tar.xz
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: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rwxr-xr-xcommitpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitpkg b/commitpkg
index 6a100de..413161c 100755
--- a/commitpkg
+++ b/commitpkg
@@ -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