We can't rely on bash as the shebang if we install bash within the script:scripts/install-build-tools.sh
Proposal: switch the shebang to #!/bin/sh or #!/usr/bin/env sh to eliminate circular dependency on bash. This may trigger several other errors as well. Could also have a mini script to install bash first so that scripts/install-build-tools.sh can remain as is.
Issue stemmed from a discussion with @maurermi about this
Description
Changing the shebang to #!/bin/sh triggered issues right away, for example:
So we should consider keeping the same shell requirement and a script to get bash installed first or changing it to sh and fixing all the issues that arise.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Abstract
We can't rely on bash as the shebang if we install bash within the script:
scripts/install-build-tools.sh
Proposal: switch the shebang to
#!/bin/sh
or#!/usr/bin/env sh
to eliminate circular dependency on bash. This may trigger several other errors as well. Could also have a mini script to install bash first so thatscripts/install-build-tools.sh
can remain as is.Issue stemmed from a discussion with @maurermi about this
Description
Changing the shebang to
#!/bin/sh
triggered issues right away, for example:So we should consider keeping the same shell requirement and a script to get bash installed first or changing it to sh and fixing all the issues that arise.
Code of Conduct