diff options
author | Daniel Baumann <daniel@debian.org> | 2010-06-06 11:21:06 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:53:26 +0100 |
commit | 9e37082e0b8cc1396861837a6ebeb558deece2c5 (patch) | |
tree | 1bf37aa120be405390a06d5d4e36f5623e6a199f /manpages/bin | |
parent | f93ff6d572484373c0c828d02142a9d16a5f3b0e (diff) | |
download | live-boot-9e37082e0b8cc1396861837a6ebeb558deece2c5.tar.gz live-boot-9e37082e0b8cc1396861837a6ebeb558deece2c5.zip |
Updating update-version script.
Diffstat (limited to 'manpages/bin')
-rwxr-xr-x | manpages/bin/update-version.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |