[SCM] live-boot branch, debian, updated. debian/2.0_a5-1-8-gcdf7e50

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


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

    Updating update-version script.

diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh
index 4b7fd1d..cabae5f 100755
--- a/manpages/bin/update-version.sh
+++ b/manpages/bin/update-version.sh
@@ -2,6 +2,8 @@
 
 set -e
 
+DATE="$(date +%Y\\\\-%m\\\\-%d)"
+PROGRAM="LIVE\\\-BOOT"
 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\\\-BOOT ${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-boot



More information about the debian-live-changes mailing list