Permalink
Browse files

Move fake-jdk-tools here

  • Loading branch information...
1 parent df8e642 commit 05c4dd7d9375112cb0d7c54e10ceb5a49ff3d5a6 @michaelwu michaelwu committed May 4, 2012
View
@@ -1040,16 +1040,7 @@ function godir () {
# Force JAVA_HOME to point to java 1.6 if it isn't already set
function set_java_home() {
- if [ ! "$JAVA_HOME" ]; then
- case `uname -s` in
- Darwin)
- export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
- ;;
- *)
- export JAVA_HOME=/usr/lib/jvm/java-6-sun
- ;;
- esac
- fi
+ export JAVA_HOME="$(gettop)/build/fake-jdk-tools"
}
if [ "x$SHELL" != "x/bin/bash" ]; then
View
@@ -0,0 +1 @@
+echo "Fake java 1.6.0 revisiion"
View
@@ -0,0 +1 @@
+echo "Fake java 1.6.0 revisiion"
View
@@ -0,0 +1 @@
+echo "Fake javac 1.6.0 revision"
View
@@ -0,0 +1 @@
+echo "fake jar"
No changes.

0 comments on commit 05c4dd7

Please sign in to comment.