From: robertc <> Date: Wed, 16 Jul 2003 18:09:01 +0000 (+0000) Subject: updated mkrelease.sh to newer configure syntax X-Git-Tag: SQUID_3_0_PRE1~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e015428607eb3819734d4cfc599e16756b2904d;p=thirdparty%2Fsquid.git updated mkrelease.sh to newer configure syntax --- diff --git a/mkrelease.sh b/mkrelease.sh index 831080b32b..2cb903d080 100755 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -26,8 +26,8 @@ if [ ! -f $tmpdir/configure ]; then fi cd $tmpdir -eval `grep ^VERSION= configure | sed -e 's/-CVS$//'` -eval `grep ^PACKAGE= configure` +eval `grep "^ *VERSION=" configure | sed -e 's/-CVS//'` +eval `grep "^ *PACKAGE=" configure` if [ ${name} != ${PACKAGE}-${VERSION} ]; then echo "ERROR! The version numbers does not match!" echo "${name} != ${PACKAGE}-${VERSION}" @@ -35,11 +35,11 @@ if [ ${name} != ${PACKAGE}-${VERSION} ]; then fi RELEASE=`echo $VERSION | cut -d. -f1,2 | cut -d- -f1` ed -s configure.in <