From: Chris Koeritz Date: Fri, 24 Feb 2012 17:15:40 +0000 (-0500) Subject: can't use dos paths with msys in PATH apparently. X-Git-Tag: 2.140.90~1555 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=82dac81449c7e5fbef9d28dae22bcd8db54440a3 can't use dos paths with msys in PATH apparently. --- diff --git a/examples/custom_overrides/fred/java_profile.sh b/examples/custom_overrides/fred/java_profile.sh index 506cc518..72ae763b 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-jre + JAVA_HOME=/d/tools/java6-jre fi # this should go last, since it changes the bin dir. if [ ! -d "$JAVA_HOME" ]; then @@ -69,7 +69,7 @@ fi if [ ! -d "$JDK_HOME" ]; then # try using a windows version. - JDK_HOME="d:/tools/java6-jdk" + JDK_HOME="/d/tools/java6-jdk" if [ -d "$JDK_HOME/jre" ]; then # reset java home. JAVA_HOME="$JDK_HOME/jre" @@ -96,13 +96,13 @@ if [ ! -d "$ECLIPSE_DIR" ]; then 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