If I have a script like this:
#!/bin/bash
set -o errexit # Exit on error
cd /blah
do stuff...
I need to use chmod to set the script and everybody who pulls form the repo will have to do the same.
Is there a way to make this portable without having to set permissions?