]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix validaton of release version
authorAmos Jeffries <amosjeffries@squid-cache.org>
Fri, 2 Jul 2010 02:19:17 +0000 (20:19 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Fri, 2 Jul 2010 02:19:17 +0000 (20:19 -0600)
mkrelease.sh

index ab234d1860b372fb513b7e5b3ff9237f8cc079f8..d1e8c3df70574b46914e2a895ea54deef7d1319b 100755 (executable)
@@ -45,8 +45,8 @@ fi
 
 cd $tmpdir
 ./bootstrap.sh
-eval `grep "^ *VERSION=" configure | sed -e 's/-BZR//'`
-eval `grep "^ *PACKAGE=" configure`
+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}"