[SCM] live-config branch, debian, updated. debian/2.0_a5-1-15-g7e5167f

Daniel Baumann daniel at debian.org
Tue Jun 8 04:09:06 UTC 2010


The following commit has been merged in the debian branch:
commit 7d2b253ebb5faf4594b03a202fa2186b182e0464
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Jun 6 11:20:34 2010 +0200

    Updating update-version script.

diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh
index bf829fe..b34c811 100755
--- a/manpages/bin/update-version.sh
+++ b/manpages/bin/update-version.sh
@@ -2,6 +2,8 @@
 
 set -e
 
+DATE="$(LC_ALL=C date +%Y\\\\-%m\\\\-%d)"
+PROGRAM="LIVE\\\-CONFIG"
 VERSION="$(cat ../VERSION)"
 
 echo "Updating version headers..."
@@ -10,5 +12,5 @@ for MANPAGE in en/*
 do
 	SECTION="$(basename ${MANPAGE} | awk -F. '{ print $2 }')"
 
-	sed -i -e "s|^.TH.*$|.TH LIVE\\\-CONFIG ${SECTION} $(date +%Y\\\\-%m\\\\-%d) ${VERSION} \"Debian Live Project\"|" ${MANPAGE}
+	sed -i -e "s|^.TH.*$|.TH ${PROGRAM} ${SECTION} ${DATE} ${VERSION} \"Debian Live Project\"|" ${MANPAGE}
 done

-- 
live-config



More information about the debian-live-changes mailing list