]> granicus.if.org Git - php/commitdiff
MFH:- Fixed bug #48661 (phpize broken with non-bash shells)
authorJani Taskinen <jani@php.net>
Wed, 24 Jun 2009 07:42:33 +0000 (07:42 +0000)
committerJani Taskinen <jani@php.net>
Wed, 24 Jun 2009 07:42:33 +0000 (07:42 +0000)
scripts/phpize.in

index 3adb8c8da4fee3c311cefc7f37a6f06d8e7e43db..40ccc77b1f04822f1d726e47a6c7245aea4e9f42 100644 (file)
@@ -121,7 +121,7 @@ phpize_check_autotools()
   test -z "$PHP_AUTOCONF" && PHP_AUTOCONF=autoconf
   test -z "$PHP_AUTOHEADER" && PHP_AUTOHEADER=autoheader
   
-  if ! test -x "$PHP_AUTOCONF" && ! test -x "`$php_shtool path $PHP_AUTOCONF`"; then
+  if test ! -x "$PHP_AUTOCONF" && test ! -x "`$php_shtool path $PHP_AUTOCONF`"; then
     cat <<EOF
 Cannot find autoconf. Please check your autoconf installation and the
 \$PHP_AUTOCONF environment variable. Then, rerun this script.
@@ -129,7 +129,7 @@ Cannot find autoconf. Please check your autoconf installation and the
 EOF
     exit 1
   fi
-  if ! test -x "$PHP_AUTOHEADER" && ! test -x "`$php_shtool path $PHP_AUTOHEADER`"; then
+  if test ! -x "$PHP_AUTOHEADER" && test ! -x "`$php_shtool path $PHP_AUTOHEADER`"; then
     cat <<EOF
 Cannot find autoheader. Please check your autoconf installation and the
 \$PHP_AUTOHEADER environment variable. Then, rerun this script.