pre-commit-php icon indicating copy to clipboard operation
pre-commit-php copied to clipboard

Use env in shebangs

Open borisbabic opened this issue 7 years ago • 1 comments

Using /usr/bin/env $interpreter in shebangs is the "proper" way to do it instead of using the absolute path to interpreters.

It's very rare for /bin/bash to not exist, but it does occur. I don't have /bin/bash (as you might have guessed :P), the only thing in /bin that I have is /bin/sh :)

P.S. Sorry for the duplicate; I decided to resend the pull request even though you don't seem to be responding to anything.

borisbabic avatar Apr 03 '17 12:04 borisbabic

See #22

FatherShawn avatar Aug 02 '17 15:08 FatherShawn