remove bashisms from source