[SCM] live-helper branch, debian-next, updated. debian/2.0_a14-1-1-g2b27ec7

Daniel Baumann daniel at debian.org
Sun Jun 6 09:31:13 UTC 2010


The following commit has been merged in the debian-next branch:
commit 2b27ec7430b31fbe39a871c339542aaa29b2e578
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Jun 6 11:23:19 2010 +0200

    Updating update-version script.

diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh
index 792d1e8..a53e692 100755
--- a/manpages/bin/update-version.sh
+++ b/manpages/bin/update-version.sh
@@ -4,11 +4,15 @@ set -e
 
 . ../functions/common.sh
 
+DATE="$(date +%Y\\\\-%m\\\\-%d)"
+PROGRAM="LIVE\\\-HELPER"
+VERSION="${CONFIG_VERSION}"
+
 echo "Updating version headers..."
 
 for MANPAGE in en/*
 do
 	SECTION="$(basename ${MANPAGE} | awk -F. '{ print $2 }')"
 
-	sed -i -e "s|^.TH.*$|.TH LIVE\\\-HELPER ${SECTION} $(date +%Y\\\\-%m\\\\-%d) ${CONFIG_VERSION} \"Debian Live Project\"|" ${MANPAGE}
+	sed -i -e "s|^.TH.*$|.TH ${PROGRAM} ${SECTION} ${DATE} ${VERSION} \"Debian Live Project\"|" ${MANPAGE}
 done

-- 
live-helper



More information about the debian-live-changes mailing list