Closed mrcjkb closed 2 years ago
#!/bin/bash is not platform independent (e.g. the scripts fail on NixOS, because bash is in /nix/store/<*>-bash...) Specifying #!/user/bin/env bash instead uses the $PATH to look for bash.
#!/bin/bash
#!/user/bin/env bash
Thank you!
#!/bin/bash
is not platform independent (e.g. the scripts fail on NixOS, because bash is in /nix/store/<*>-bash...) Specifying#!/user/bin/env bash
instead uses the $PATH to look for bash.