forked from openkylin/platform_build
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:
commit
d3e1d0e960
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue