diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/build/options/makeman | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/build/options/makeman b/tools/build/options/makeman index db9cb4d02faa..bf4474a501ed 100755 --- a/tools/build/options/makeman +++ b/tools/build/options/makeman @@ -1,12 +1,12 @@ #!/bin/sh # # This file is in the public domain. +# +# $FreeBSD$ set -o errexit export LC_ALL=C -ident='$FreeBSD$' - t=$(mktemp -d -t makeman) trap 'test -d $t && rm -rf $t' exit @@ -126,12 +126,9 @@ main() { echo "building src.conf.5 man page from files in ${PWD}" >&2 - ident=${ident#$} - ident=${ident% $} fbsdid='$'FreeBSD'$' cat <<EOF .\" DO NOT EDIT-- this file is automatically generated. -.\" from ${ident} .\" ${fbsdid} .Dd $(echo $(LC_TIME=C date +'%B %e, %Y')) .Dt SRC.CONF 5 @@ -244,7 +241,7 @@ EOF fi echo ".It Va ${opt}" - sed -e's/\$\(FreeBSD: .*\) \$/from \1/' ${opt} + sed -e'/\$FreeBSD.*\$/d' ${opt} if [ -n "${targets}" ] ; then echo '.Pp' echo 'This is a default setting on' |
