]> granicus.if.org Git - php/commitdiff
Fixed bug #75614
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 16 Dec 2017 21:31:10 +0000 (22:31 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 16 Dec 2017 21:31:10 +0000 (22:31 +0100)
Replace non-standard == with = in shell scripts.

NEWS
ext/curl/config.m4
makedist

diff --git a/NEWS b/NEWS
index 14f81dcdd1a8e5199a63da0be1036143c3caaa59..28439fb5cc34e4764208ebf1780d240559ad3183 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ PHP                                                                        NEWS
 
 - Core:
   . Fixed bug #75679 (Path 260 character problem). (Anatol)
+  . Fixed bug #75614 (Some non-portable == in shell scripts). (jdolecek)
 
 - Opcache:
   . Fixed bug #75687 (var 8 (TMP) has array key type but not value type).
index 9db0decd6c817b80e9440786ab4b75b56be9abf1..8e688c1a117548b699ee272a2b5d864adc82cf53 100644 (file)
@@ -14,7 +14,7 @@ if test "$PHP_CURL" != "no"; then
     dnl using pkg-config output
 
     AC_MSG_CHECKING(for libcurl.pc)
-    if test "$PHP_CURL" == "yes" -o "$PHP_CURL" == "/usr"; then
+    if test "$PHP_CURL" = "yes" -o "$PHP_CURL" = "/usr"; then
       PKNAME=libcurl
       AC_MSG_RESULT(using default path)
     elif test -r $PHP_CURL/$PHP_LIBDIR/pkgconfig/libcurl.pc; then
index 48c6312e78bc88211ea4981088f50e832867e29d..18965abc819efbee19caef74b5d847c73affb7c5 100755 (executable)
--- a/makedist
+++ b/makedist
@@ -40,7 +40,7 @@ if test "${2}" -lt "13" -o "${2}" -eq "13" -a "${3}" -lt "5"; then
 fi
 IFS="$old_IFS"
 
-if test "x$PHPROOT" == "x"; then
+if test "x$PHPROOT" = "x"; then
     PHPROOT=git@git.php.net:php-src.git;
 fi