diff options
Diffstat (limited to 'sys/conf/newvers.sh')
-rw-r--r-- | sys/conf/newvers.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index 689b1a94c599..6595cb78dcf9 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -32,7 +32,7 @@ # SUCH DAMAGE. # # @(#)newvers.sh 8.1 (Berkeley) 4/20/94 -# $Id: newvers.sh,v 1.35 1998/05/20 20:35:39 eivind Exp $ +# $Id: newvers.sh,v 1.36 1998/05/20 20:54:07 eivind Exp $ TYPE="FreeBSD" REVISION="3.0" @@ -44,7 +44,14 @@ if [ "X${SNAPDATE}" != "X" ]; then fi VERSION="${TYPE} ${RELEASE}" -RELDATE="300001" +if [ "X${PARAMFILE}" != "X" ]; then + RELDATE=$(awk '/__FreeBSD_version.*propagated to newvers/ {print $3}' \ + ${PARAMFILE}) +else + RELDATE=$(awk '/__FreeBSD_version.*propagated to newvers/ {print $3}' \ + $(dirname $0)/../sys/param.h) +fi + b=share/examples/etc/bsd-style-copyright year=`date '+%Y'` |