Skip to content
Snippets Groups Projects
Unverified Commit d4c4798a authored by Quentin Gliech's avatar Quentin Gliech Committed by GitHub
Browse files

Use interpreter from $PATH instead of absolute paths in various scripts using /usr/bin/env (#9689)

On NixOS, `bash` isn't under `/bin/bash` but rather in some directory in `$PATH`. Locally, I've been patching those scripts to make them work.

`/usr/bin/env` seems to be the only [portable way](https://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my

) to use binaries from the PATH as interpreters.

Signed-off-by: default avatarQuentin Gliech <quentingliech@gmail.com>
parent e5801db8
No related branches found
No related tags found
Loading
Showing with 18 additions and 17 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment