Fixed bash syntax errors.