qiskit-textbook
qiskit-textbook copied to clipboard
Changing shebang in `build` and `deploy` scripts for better portability
Changes made
Changed shebang in build.sh from #!/bin/bash to #!/usr/bin/env bash.
Justification
In build.sh, the bash interpreter path is provided as #!/bin/bash, which is good but only for specific systems (*nix). In other systems, this path might not be where bash exists and a reasonable shebang would be #!/usr/bin/env bash, which is much more portable. Please refer this to learn more.
Have you tested this on other systems? @paniash
Explicitly no. But I see no reason why it shouldn't work. :-)
@frankharkins What do you think ?
Really need @vabarbosa to look over.