From: Thierry Parmentelat Date: Sat, 2 Feb 2013 06:32:37 +0000 (+0100) Subject: use $(hostname) rather than localhost X-Git-Tag: 5.2.1~77 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=44e6bf46229e7fec4afa60faad7261e1f0913e41;p=build.git use $(hostname) rather than localhost or build setup is to have ssh Listen on a specific address --- diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index 622a4203..24794414 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -128,7 +128,7 @@ function failure() { set -x # early stage ? - let's not create /build/@PLDISTRO@ if test -z "$WEBLOG" ; then - WEBHOST=localhost + WEBHOST=$(hostname) WEBPATH=/tmp WEBBASE=/tmp/vbuild-early-$(date +%Y-%m-%d) WEBLOG=/tmp/vbuild-early-$(date +%Y-%m-%d).log.txt @@ -157,7 +157,7 @@ function success () { set -x # early stage ? - let's not create /build/@PLDISTRO@ if test -z "$WEBLOG" ; then - WEBHOST=localhost + WEBHOST=$(hostname) WEBPATH=/tmp WEBLOG=/tmp/vbuild-early-$(date +%Y-%m-%d).log.txt fi