restore parameters
[build.git] / 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