From 340255a69433d6af44ce484af7ba686528f2b9e1 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sat, 16 Dec 2017 22:31:10 +0100 Subject: Fixed bug #75614 Replace non-standard == with = in shell scripts. --- NEWS | 1 + ext/curl/config.m4 | 2 +- makedist | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 14f81dcdd1..28439fb5cc 100644 --- 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). diff --git a/ext/curl/config.m4 b/ext/curl/config.m4 index 9db0decd6c..8e688c1a11 100644 --- a/ext/curl/config.m4 +++ b/ext/curl/config.m4 @@ -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 diff --git a/makedist b/makedist index 48c6312e78..18965abc81 100755 --- 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 -- cgit v1.2.1