From 5395ca769f28544583d0b181114928623c27d6d8 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 1 Mar 2012 16:43:06 -0500 Subject: [PATCH] hoping this shuts cygwin up about finding java properly and then passing JAVA_HOME along to dosdows. --- examples/custom_overrides/fred/java_profile.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.34.1