aa7ce89
- fix some bashisms and explicitly note errors when we run into them (ticket #1, patch by Aleksander Adamowski)