FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

LinkBack Thread Tools
Old 04-01-2011, 09:35 PM
Dan McGee
Default 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>
commitpkg | 2 +-
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

# 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

Thread Tools

All times are GMT. The time now is 07:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org