ensure compatibility with posix shell

remove bash comparison, thanks kinichiro