remove bash-isms from igprof shell script
Merge pull request #35 from reneme/fix_bashisms

FIX: remove bash-isms from igprof shell script