Replace non-standard == with = in shell scripts.
This commit is contained in:
Nikita Popov 2017-12-16 22:31:10 +01:00
parent ee45104dba
commit 340255a694
3 changed files with 3 additions and 2 deletions

1
NEWS
View File

@ -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).

View 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

View File

@ -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