summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-12-16 22:31:10 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-12-16 22:31:10 +0100
commit340255a69433d6af44ce484af7ba686528f2b9e1 (patch)
tree44310714aa23007ff621216894bb8a973be124f9
parentee45104dbafc937d944995733f93fd4f160a6922 (diff)
downloadphp-git-340255a69433d6af44ce484af7ba686528f2b9e1.tar.gz
Fixed bug #75614
Replace non-standard == with = in shell scripts.
-rw-r--r--NEWS1
-rw-r--r--ext/curl/config.m42
-rwxr-xr-xmakedist2
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