X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vbuild-nightly.sh;h=aa20facee5a855b48f50d36cd3c130220023e691;hb=eac1241c8f5f16ff4d072a971445a9c827cb6abe;hp=e66ea268c5aab5e4dc72dae55e345e13cb093990;hpb=1512d3b9a64f507648747d4cbca5473a6fa25ff2;p=build.git diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index e66ea268..aa20face 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -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