From: Thierry Parmentelat Date: Tue, 25 Oct 2011 09:56:03 +0000 (+0200) Subject: cosmetic subject X-Git-Tag: lxcbuild~33 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=5c28239c8568f672b46524fe2eabadd4900fdfa3 cosmetic subject --- diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index d579e508..58973a99 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -174,7 +174,7 @@ function success () { fi if [ -n "$MAILTO" ] ; then ( \ - echo "Subject: OK ${BASE} ${MAIL_SUBJECT}" ; \ + echo "Subject: PASS ${BASE} ${MAIL_SUBJECT}" ; \ echo "To: $MAILTO" ; \ echo "$PLDISTRO ($BASE) build for $FCDISTRO completed on $(date)" ; \ echo "See full build log at $WEBBASE_URL/log.txt" ; \ @@ -541,7 +541,7 @@ function main () { else MAIL_SUBJECT="${MAIL_SUBJECT} fresh" fi - short_hostname=$(hostname | cut -d1 -f1) + short_hostname=$(hostname | cut -d. -f1) MAIL_SUBJECT="on ${short_hostname} - ${MAIL_SUBJECT}" ### compute WEBHOST from TESTBUILDURL