From 2a82bc33c91489f241fa8b1191651c8e2552a3f2 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 31 Jan 2014 10:35:28 +0100 Subject: [PATCH] minor tweaks --- lbuild-nightly.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.43.0