am 8969167d: am bd960940: Ignore STAY_OFF_MY_LAWN when setting JAVA_HOME.

Merge commit '8969167db684ebdbfe72dd57aea7f7bdd5de8064'

* commit '8969167db684ebdbfe72dd57aea7f7bdd5de8064':
  Ignore STAY_OFF_MY_LAWN when setting JAVA_HOME.
This commit is contained in:
Andy McFadden 2010-06-24 13:32:02 -07:00 committed by Android Git Automerger
commit d3e1d0e960
1 changed files with 9 additions and 11 deletions

View File

@ -1068,7 +1068,6 @@ function godir () {
# Force JAVA_HOME to point to java 1.6 if it isn't already set
function set_java_home() {
if [ "$STAY_OFF_MY_LAWN" = "" ]; then
if [ ! "$JAVA_HOME" ]; then
case `uname -s` in
Darwin)
@ -1079,7 +1078,6 @@ function set_java_home() {
;;
esac
fi
fi
}
# determine whether arrays are zero-based (bash) or one-based (zsh)