From: Amos Jeffries Date: Sat, 27 Aug 2011 15:09:08 +0000 (-0600) Subject: Port package version check update from 3.1 X-Git-Tag: SQUID_3_0_STABLE26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c0360f3dcd277cde06ca604cf940fdd887174b2;p=thirdparty%2Fsquid.git Port package version check update from 3.1 --- diff --git a/mkrelease.sh b/mkrelease.sh index df6a498ba8..c2524b3907 100755 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -43,8 +43,9 @@ if [ ! -f $tmpdir/configure ]; then fi cd $tmpdir -eval `grep "^ *VERSION=" configure | sed -e 's/-BZR//'` -eval `grep "^ *PACKAGE=" configure` +./bootstrap.sh +eval `grep "^ *PACKAGE_VERSION=" configure | sed -e 's/-BZR//' | sed -e 's/PACKAGE_//'` +eval `grep "^ *PACKAGE_TARNAME=" configure | sed -e 's/_TARNAME//'` if [ ${name} != ${PACKAGE}-${VERSION} ]; then echo "ERROR! The tag and configure version numbers do not match!" echo "${name} != ${PACKAGE}-${VERSION}"