Fixes the bash-ism of the script.