--- /usr/bin/emerge-delta-webrsync 2005-09-23 08:35:39.000000000 +0200 +++ /usr/bin/emerge-delta-webrsync-new 2005-09-23 11:23:09.000000000 +0200 @@ -31,6 +31,7 @@ ALT_MIRROR="http://egret.gentoo.org/~gpatches/" MUST_SYNC='1' +VERBOSE=0 unset PUKE_HELP for x in $*; do if [[ $x == "-u" ]]; then @@ -39,6 +40,8 @@ KEEP_OLDIES='asdf' elif [[ $x == "-h" ]]; then PUKE_HELP=1 + elif [[ $x == "-v" ]]; then + VERBOSE=1 else PUKE_HELP=1 echo "$x isn't a valid arg. bailing." @@ -46,6 +49,7 @@ if [[ -n $PUKE_HELP ]]; then echo "-u for upgrade; sync only if new snapshots are found" echo "-k for keep; keep old tree snapshots around" + echo "-v for verbose wget" exit -1 fi done @@ -65,7 +69,7 @@ cd "$DISTDIR" found=0 -if [ "$1" == "-v" ] ; then +if [ "$VERBOSE" == "1" ] ; then wgetops= else #this sucks. probably better to do 1> /dev/null