[SCM] Debian Live build scripts branch, master, updated. debian/1.0.5-1-12-gf91a414
Daniel Baumann
daniel at debian.org
Wed Jul 8 19:09:20 UTC 2009
The following commit has been merged in the master branch:
commit f91a414a460558fd8108bf67ec5365e3a0aea532
Author: Daniel Baumann <daniel at debian.org>
Date: Wed Jul 8 20:54:47 2009 +0200
Avoid using HOSTNAME variable in order to not get false positives from checkbashism.
diff --git a/debian/live-helper.cron.daily b/debian/live-helper.cron.daily
index a146f09..0882de4 100644
--- a/debian/live-helper.cron.daily
+++ b/debian/live-helper.cron.daily
@@ -3,6 +3,7 @@
set -e
BUILD="daily"
+HOST="$(hostname)"
# Checking for live-helper availability
if [ ! -x /usr/bin/lh_config ]
@@ -35,7 +36,7 @@ else
exit 1
fi
-echo "$(date +%b\ %d\ %H:%M:%S) ${HOSTNAME} live-helper: begin daily build." >> /var/log/live
+echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-helper: begin daily build." >> /var/log/live
for ARCHITECTURE in ${ARCHITECTURES}
do
@@ -151,4 +152,4 @@ done
rm -f "${DESTDIR}"/"${BUILD}"-builds/current
ln -s ${DATE} "${DESTDIR}"/"${BUILD}"-builds/current
-echo "$(date +%b\ %d\ %H:%M:%S) ${HOSTNAME} live-helper: end daily build." >> /var/log/live
+echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-helper: end daily build." >> /var/log/live
--
Debian Live build scripts
More information about the debian-live-changes
mailing list