From: Baris Metin Date: Wed, 4 May 2011 00:07:33 +0000 (-0400) Subject: try again X-Git-Tag: 5.0-rc23~58 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7d6e06080fe9dd33e72358c757ba53f152fd053d;p=build.git try again --- diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index 40c0a0ca..e03881fe 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -485,13 +485,8 @@ function main () { esac done - eval set -- "$OPTS_ORIG" - - # preserve options for passing them again later, together with expanded base - declare -a options - toshift=$(($OPTIND - 1)) - arg=1; while [ $arg -le $toshift ] ; do options=(${options[@]} "$1") ; shift; arg=$(($arg+1)) ; done + options=$OPTS_ORIG # allow var=value stuff; for target in "$@" ; do