Fixed bash for mavericks.