matejak / argbash

Bash argument parsing code generator
Other
1.39k stars 63 forks source link

Hardcoded bash path? #185

Open julian-hoch opened 9 months ago

julian-hoch commented 9 months ago

This is just a quesiton - is there a reason why the bash code is hardcoded to /bin/bash? Since I run NixOS I always have to manually change it o /usr/bin/env bash, since /bin/bash does not exist. But perhaps I am missing something?

gdevenyi commented 9 months ago

POSIX standard requires env to be present, so switching to using it for all shebangs is a reasonable change