restore parameters
authorBaris Metin <bmetin@verivue.com>
Tue, 3 May 2011 22:35:28 +0000 (18:35 -0400)
committerBaris Metin <bmetin@verivue.com>
Tue, 3 May 2011 22:35:28 +0000 (18:35 -0400)
vbuild-nightly.sh

index e66ea26..aa20fac 100755 (executable)
@@ -448,6 +448,7 @@ function main () {
     SSH_KEY=""
     SIGNYUMREPO=""
 
+    OPTS_ORIG=$@
     OPTS=$(getopt -o "f:d:p:m:s:t:b:o:c:w:W:r:M:yg:u:K:SBTnv7i:h" -l "build-branch:" -- $@)
     if [ $? != 0 ]
     then
@@ -486,6 +487,8 @@ function main () {
        esac
     done
 
+    eval set -- "$OPTS_ORIG"
+
        
     # preserve options for passing them again later, together with expanded base
     declare -a options