]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Adjust for new autoconf version
authorhno <>
Mon, 12 May 2003 02:57:09 +0000 (02:57 +0000)
committerhno <>
Mon, 12 May 2003 02:57:09 +0000 (02:57 +0000)
mksnapshot.sh

index f5cf9a4357a65c4e44c4390e486a7427788231cb..cfb1a95f54e5b9dde2c25f246973a53ef34e7d49 100755 (executable)
@@ -23,9 +23,8 @@ if [ ! -f $tmpdir/configure ]; then
 fi
 
 cd $tmpdir
-eval CVS`grep ^VERSION= configure`
-VERSION=`echo $CVSVERSION | sed -e 's/-CVS//'`
-eval `grep ^PACKAGE= configure`
+eval `grep "^ *VERSION=" configure | sed -e 's/-CVS//'`
+eval `grep "^ *PACKAGE=" configure`
 ed -s configure.in <<EOS
 g/${CVSVERSION}/ s//${VERSION}-${date}/
 w