summaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-03-20 18:54:30 (GMT)
committerDerick Rethans <derick@php.net>2002-03-20 18:54:30 (GMT)
commit85682d568f5212c3cf4d0c387d8aa92418d23089 (patch)
tree398c713836af008093ad7e35637827b01d6afbd0 /makedist
parent8581f8394ba6fa921521a1c52683cc39535cb134 (diff)
downloadphp-85682d568f5212c3cf4d0c387d8aa92418d23089.tar.gz
- Fix makedist
Diffstat (limited to 'makedist')
-rwxr-xr-xmakedist8
1 files changed, 4 insertions, 4 deletions
diff --git a/makedist b/makedist
index 0efcdec..bd19565 100755
--- a/makedist
+++ b/makedist
@@ -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