Cleaned up Bash scripts

Generated by commit 237b61362a2e9bb2d5b60d85a87b670c89ab978a; pushed by Travis build 28.