@victorhck Given things like BashFAQ's explanation of how flaky set -e is (http://mywiki.wooledge.org/BashFAQ/105) and how much of a pain it is to get everything just right for portability with bash, I've taken to just rewriting shell scripts longer than "cd to the directory containing the game, then exec it" in Python.
Aside from the niceties of having sane whitespace handling and variable substitution, try/finally, and stuff like os.walk, os.path.normpath, shlex, and subprocess, its presence is basically a de facto standard for non-Windows platforms at this point, as well as being easier to write in a manner that's portable to Windows.