Skip to content

Conversation

xushulang
Copy link

Some Linux distributions use dash as the default sh, but in "dash", "command -v" only supports a single argument.

@GrahamCampbell
Copy link
Member

Thanks for reporting this. Are you able to replicate this not working, with a test?

@GrahamCampbell
Copy link
Member

Are there any downsides to making this change?

@GrahamCampbell GrahamCampbell changed the title Fix sh not returning results [1.15] Fix sh not returning results May 26, 2025
@xushulang
Copy link
Author

xushulang commented May 29, 2025

Thanks for reporting this. Are you able to replicate this not working, with a test?

tested already

docker, php:8.4-fpm
image

@xushulang
Copy link
Author

Are there any downsides to making this change?

no

@divinity76
Copy link
Contributor

divinity76 commented Aug 11, 2025

#614 would've portably fixed it fwiw, scanning manually instead of using the shell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants