Open vsund opened 6 years ago
I wasn't too sure about the specifics of what @vsund was mentioning here, so I had a quick google and turned up this:
https://stackoverflow.com/questions/5725296/difference-between-sh-and-bash
From that, I decided to ask my computer which one sh is:
admins-MacBook-Pro:galaxy admin$ file -h /bin/sh
/bin/sh: Mach-O 64-bit executable x86_64
admins-MacBook-Pro:galaxy admin$ sh --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
Copyright (C) 2007 Free Software Foundation, Inc.
If this goes as expected, people can use different shells for installation :)
If the script is POSIX compliant (it was the last time I checked) we should change the shebang at the top with
#!/bin/sh
.