Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix negation in shell tests #14662

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Fix negation in shell tests #14662

merged 1 commit into from
Jun 25, 2024

Conversation

petk
Copy link
Member

@petk petk commented Jun 25, 2024

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

(Manual currently doesn't show up, some work on the server probably, but it's written under portability of using test in ifs).

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
Copy link
Member

@NattyNarwhal NattyNarwhal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok odbc

@petk petk merged commit 604e0a7 into php:master Jun 25, 2024
8 of 11 checks passed
@petk petk deleted the patch-shellology branch June 25, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants