]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Port package version check update from 3.1 SQUID_3_0_STABLE26
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 27 Aug 2011 15:09:08 +0000 (09:09 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 27 Aug 2011 15:09:08 +0000 (09:09 -0600)
mkrelease.sh

index df6a498ba847ea25b62dbe2b0fbee451aa73fe52..c2524b3907d4450b5c00b62f191930f38d91d141 100755 (executable)
@@ -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}"