check is script run in bash (there are bashisms in code)