From: Thierry Parmentelat Date: Fri, 31 Jan 2014 09:35:28 +0000 (+0100) Subject: minor tweaks X-Git-Tag: before_libvirt_121~15 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=2a82bc33c91489f241fa8b1191651c8e2552a3f2 minor tweaks --- diff --git a/lbuild-nightly.sh b/lbuild-nightly.sh index 7b6d7e29..838f0456 100755 --- a/lbuild-nightly.sh +++ b/lbuild-nightly.sh @@ -146,8 +146,8 @@ function pretty_duration () { function failure() { set -x # early stage ? - let's not create /build/@PLDISTRO@ - if test -z "$WEBLOG" ; then - WEBHOST=$(hostname) + if [ -z "$WEBLOG" ] ; then + WEBHOST=localhost WEBPATH=/tmp WEBBASE=/tmp/lbuild-early-$(date +%Y-%m-%d) WEBLOG=/tmp/lbuild-early-$(date +%Y-%m-%d).log.txt @@ -175,8 +175,8 @@ function failure() { function success () { set -x # early stage ? - let's not create /build/@PLDISTRO@ - if test -z "$WEBLOG" ; then - WEBHOST=$(hostname) + if [ -z "$WEBLOG" ] ; then + WEBHOST=localhost WEBPATH=/tmp WEBLOG=/tmp/lbuild-early-$(date +%Y-%m-%d).log.txt fi