From 92a5f188ebeb32f4894408b212344c906b843966 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 5 Jan 2010 09:42:08 +0000 Subject: [PATCH] when using nightly script with -o, the context options were correctly guessed from the saved context but not properly passed across vserver exec --- vbuild-nightly.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index fdafae15..1c9c6cfe 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -539,13 +539,21 @@ function main () { FCDISTRO=$(vserver ${BASE} exec /build/getdistroname.sh) PLDISTRO=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +PLDISTRO) + options=($options -d $PLDISTRO) PLDISTROTAGS=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +PLDISTROTAGS) + options=($options -t $PLDISTROTAGS) build_SVNPATH=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +build-SVNPATH) + options=($options -s $build_SVNPATH) PERSONALITY=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +PERSONALITY) + options=($options -p $PERSONALITY) MAILTO=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +MAILTO) + options=($options -m $MAILTO) WEBPATH=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +WEBPATH) + options=($options -w $WEBPATH) TESTBUILDURL=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +TESTBUILDURL) + options=($options -W $TESTBUILDURL) WEBROOT=$(vserver ${BASE} exec make --no-print-directory -C /build stage1=skip +WEBROOT) + options=($options -r $WEBROOT) show_env else # create vserver: check it does not exist yet -- 2.43.0