use $DATEDVERSION as version number

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12764 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2003-09-03 15:56:27 +00:00
parent 612ba5c47a
commit a05b82b0e5

View File

@@ -7,9 +7,8 @@ test -d "$1" || { echo not a dir in \$1 ; exit 1 ; }
cd $1 cd $1
if test "$DATEDVERSION"; then if test "$DATEDVERSION"; then
date=`date -u +%Y%m%d`
ed -s configure.in << END ed -s configure.in << END
/AC_INIT/s/AC_INIT(\([^,]*\), [^,]*, \(.*\))/AC_INIT(\1, $date, \2)/ /AC_INIT/s/AC_INIT(\([^,]*\), [^,]*, \(.*\))/AC_INIT(\1, $DATEDVERSION, \2)/
w w
q q
END END