From eac1241c8f5f16ff4d072a971445a9c827cb6abe Mon Sep 17 00:00:00 2001 From: Baris Metin Date: Tue, 3 May 2011 18:35:28 -0400 Subject: [PATCH] restore parameters --- vbuild-nightly.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.43.0