[Debian-live-changes] r1402 - dists/trunk/live-helper/examples

Daniel Baumann daniel at alioth.debian.org
Tue May 8 20:25:37 UTC 2007


Author: daniel
Date: 2007-05-08 20:25:36 +0000 (Tue, 08 May 2007)
New Revision: 1402

Modified:
   dists/trunk/live-helper/examples/snapshot-build.sh
Log:


Modified: dists/trunk/live-helper/examples/snapshot-build.sh
===================================================================
--- dists/trunk/live-helper/examples/snapshot-build.sh	2007-05-08 20:17:08 UTC (rev 1401)
+++ dists/trunk/live-helper/examples/snapshot-build.sh	2007-05-08 20:25:36 UTC (rev 1402)
@@ -114,7 +114,7 @@
 # Reading timestamp
 if [ -z "${LAST_UPDATE}" ]
 then
-	LAST_UPDATE="`awk '/Last update:/ { print $3 }' ${SERVER}/LAST_BUILD`"
+	LAST_UPDATE="`awk -F: '/Last update:/ { print $2":"$3":"$4 }' ${SERVER}/LAST_BUILD | sed -e 's/    //'`"
 fi
 
 # Writing timestamp




More information about the Debian-live-changes mailing list