From: Chris Koeritz Date: Thu, 1 Mar 2012 21:43:06 +0000 (-0500) Subject: hoping this shuts cygwin up about finding java properly and then passing X-Git-Tag: 2.140.90~1546 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=5395ca769f28544583d0b181114928623c27d6d8;p=feisty_meow.git hoping this shuts cygwin up about finding java properly and then passing JAVA_HOME along to dosdows. --- diff --git a/examples/custom_overrides/fred/java_profile.sh b/examples/custom_overrides/fred/java_profile.sh index 2df35a48..7d739f8a 100644 --- a/examples/custom_overrides/fred/java_profile.sh +++ b/examples/custom_overrides/fred/java_profile.sh @@ -51,7 +51,7 @@ if [ ! -d "$JAVA_HOME" ]; then fi if [ ! -d "$JAVA_HOME" ]; then # try using a windows version. - JAVA_HOME="/d/tools/java6-jdk" + JAVA_HOME="d:/tools/java6-jdk" fi # this should go last, since it changes the bin dir. if [ ! -d "$JAVA_HOME" ]; then @@ -79,16 +79,16 @@ if [ ! -d "$ECLIPSE_DIR" ]; then fi if [ ! -d "$ECLIPSE_DIR" ]; then #uhhh, default on winders? - ECLIPSE_DIR="/c/Program Files/eclipse" + ECLIPSE_DIR="c:/Program Files/eclipse" fi if [ ! -d "$ECLIPSE_DIR" ]; then - ECLIPSE_DIR="/c/tools/eclipse" + ECLIPSE_DIR="c:/tools/eclipse" fi if [ ! -d "$ECLIPSE_DIR" ]; then - ECLIPSE_DIR="/d/tools/eclipse" + ECLIPSE_DIR="d:/tools/eclipse" fi if [ ! -d "$ECLIPSE_DIR" ]; then - ECLIPSE_DIR="/e/tools/eclipse" + ECLIPSE_DIR="e:/tools/eclipse" fi # final option is to whine. if [ ! -d "$ECLIPSE_DIR" -a -z "$(whichable eclipse 2>/dev/null)" ]; then