mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
- Fix makedist
This commit is contained in:
parent
8581f8394b
commit
85682d568f
8
makedist
8
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
|
||||
|
Loading…
Reference in New Issue
Block a user