try again
authorBaris Metin <bmetin@verivue.com>
Wed, 4 May 2011 00:07:33 +0000 (20:07 -0400)
committerBaris Metin <bmetin@verivue.com>
Wed, 4 May 2011 00:07:33 +0000 (20:07 -0400)
vbuild-nightly.sh

index 40c0a0c..e03881f 100755 (executable)
@@ -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