oot
oot copied to clipboard
Remove hardcoded bash location in tools/preprocess.sh
tools/preprocess.sh contains a hardcoded shebang to /bin/bash that ignores the SHELL variable in Makefile. This breaks the build process for NixOS (or anyone else who doesn't have a /bin/bash) with a cryptic error. I've removed the shebang.
That does complicate things... could check $SHELL for something that ends in /bash?
would #!/usr/bin/env bash work for you?
Yes, that does work!