com php-src: Fixed bug #75614: NEWS ext/curl/config.m4 makedist
| From: | Nikita Popov | Date: | Sat, 16 Dec 2017 21:31:10 +0000 |
| Subject: | com php-src: Fixed bug #75614: NEWS ext/curl/config.m4 makedist | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100621@lists.php.net to get a copy of this message | ||
Commit: 340255a69433d6af44ce484af7ba686528f2b9e1
Author: Nikita Popov <nikita.ppv@gmail.com> Sat, 16 Dec 2017 22:31:10 +0100
Parents: ee45104dbafc937d944995733f93fd4f160a6922
Branches: PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=340255a69433d6af44ce484af7ba686528f2b9e1
Log:
Fixed bug #75614
Replace non-standard == with = in shell scripts.
Bugs:
https://bugs..php.net/75614
Changed paths:
M NEWS
M ext/curl/config.m4
M makedist
Diff:
diff --git a/NEWS b/NEWS
index 14f81dcd..28439fb 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 9db0dec..8e688c1 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 48c6312..18965ab 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