From d533283d6bce105b6d84348e46f2fd9855d23751 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 15 Jul 2010 15:45:31 -0400 Subject: [PATCH] Improve early failure test. --- vbuild-nightly.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index 133852fa..5ee38d9a 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -121,7 +121,7 @@ function webpublish_append_stdin_to_file () { ssh root@${WEBHOST} cat \>\> $1; } function failure() { set -x # early stage ? - let's not create /build/@PLDISTRO@ - if webpublish_misses_dir $WEBPATH ; then + if test -z "$WEBLOG" ; then WEBHOST=localhost WEBPATH=/tmp WEBBASE=/tmp/vbuild-early-$(date +%Y-%m-%d) @@ -149,7 +149,7 @@ function failure() { function success () { set -x # early stage ? - let's not create /build/@PLDISTRO@ - if webpublish_misses_dir ${WEBPATH} ; then + if test -z "$WEBLOG" ; then WEBHOST=localhost WEBPATH=/tmp WEBLOG=/tmp/vbuild-early-$(date +%Y-%m-%d).log.txt -- 2.43.0