1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix negation in shell tests (#14662)

According to documentation the `if test ! ...` is preferred to
`if ! test ...`. The later is not portable:
https://www.gnu.org/software/autoconf/manual/autoconf-2.72/autoconf.html
This commit is contained in:
Peter Kokot
2024-06-25 23:31:08 +02:00
committed by GitHub
parent bc585cd87a
commit 604e0a7bbe
2 changed files with 4 additions and 6 deletions

View File

@@ -95,7 +95,7 @@ else
fi
# Check if make exists.
if ! test -x "$(command -v $MAKE)"; then
if test ! -x "$(command -v $MAKE)"; then
echo "genfiles: make not found. Please install make to generate files." >&2
exit 1
fi