summaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-08-10 10:34:26 +0200
committerAnatol Belski <ab@php.net>2015-08-10 10:34:26 +0200
commitf318bffec33314cbd33e06e52f25cbf1831079da (patch)
tree582382a47cb6941e0df5f5f0ebfc983a4b207832 /makedist
parentdf71933bd2956867316823d9965d57c021faa585 (diff)
downloadphp-git-f318bffec33314cbd33e06e52f25cbf1831079da.tar.gz
catch up with the current requirement
bison 3.0.2 is used for php-7.0.0
Diffstat (limited to 'makedist')
-rwxr-xr-xmakedist6
1 files changed, 3 insertions, 3 deletions
diff --git a/makedist b/makedist
index 3edeb2cfc8..aa2e6bcfc3 100755
--- a/makedist
+++ b/makedist
@@ -28,9 +28,9 @@ VER=$1 ; shift
old_IFS="$IFS"
IFS=.
-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}).)"
+eval set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /g'`
+if test "${1}" -lt 3 -o "${1}" = "3" -a "${2}" -eq "0" -a "${3}" -lt "3"; then
+ echo "You will need bison >= 3.0.2 if you want to regenerate the Zend parser (found ${1}.${2}.${3}).)"
exit 2
fi
IFS="$old_IFS"