[SCM] debian-live/live-helper branch, master, updated. 1.0_a44-1-36-gd0533ec

Daniel Baumann daniel at debian.org
Fri Apr 25 07:03:06 UTC 2008


The following commit has been merged in the master branch:
commit d0533ecf81e379f76ff840189a19228bb8d7f6c9
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Apr 25 09:00:10 2008 +0200

    Adjusting obtaining of the date string in snapshots.sh to new git log date format.

diff --git a/examples/cron/snapshots.sh b/examples/cron/snapshots.sh
index f8e3305..68011df 100755
--- a/examples/cron/snapshots.sh
+++ b/examples/cron/snapshots.sh
@@ -87,7 +87,7 @@ do
 
 	# Getting revision
 	cd "${TEMPDIR}"/${PACKAGE}
-	REVISION="$(git log | grep -m1 Date | awk -FDate: '{ print $2 }' | sed -e 's/+.*$//')"
+	REVISION="$(git log | grep -m1 Date | awk -FDate: '{ print $2 }' | awk '{ print $1 ",", $3, $2, $5, $4, $6 }')"
 	REVISION="$(date -d "${REVISION}" +%Y%m%d.%H%M%S)"
 
 	# Check for existing package

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list