Fixing syntax error in shell script.