HADOOP-11033. shell scripts ignore JAVA_HOME on OS X. (aw)