diff options
author | Derick Rethans <derick@php.net> | 2002-03-20 18:54:30 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2002-03-20 18:54:30 +0000 |
commit | 85682d568f5212c3cf4d0c387d8aa92418d23089 (patch) | |
tree | 398c713836af008093ad7e35637827b01d6afbd0 /makedist | |
parent | 8581f8394ba6fa921521a1c52683cc39535cb134 (diff) | |
download | php-git-85682d568f5212c3cf4d0c387d8aa92418d23089.tar.gz |
- Fix makedist
Diffstat (limited to 'makedist')
-rwxr-xr-x | makedist | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -37,15 +37,15 @@ VER=$1 ; shift old_IFS="$IFS" IFS=. -eval set `bison -V|sed "s/GNU Bison version //"` -if test "$1" = "1" && test "28" -gt "$2"; then - echo "Please use Bison 1.28 or higher" +eval set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /'` +if test "${1}" = "1" -a "${2}" -lt "28"; then + echo "You will need bison 1.28 if you want to regenerate the Zend parser (found ${1}.${2}).)" exit 10 fi IFS="$old_IFS" PHPROOT=:pserver:cvsread@cvs.php.net:/repository -ZENDROOT=:pserver:cvsread@cvs.zend.com:/repository +ZENDROOT=:pserver:cvsread@cvs.php.net:/repository PHPMOD=php4 ZENDMOD=Zend TSRMMOD=TSRM |