From: Chris Koeritz Date: Mon, 13 Feb 2012 20:50:15 +0000 (-0500) Subject: cleaned stderr out of output. X-Git-Tag: 2.140.90~1606 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=f4c535d65bdae3e623c9df35e961312dc32fb809 cleaned stderr out of output. --- diff --git a/examples/custom_overrides/fred/java_profile.sh b/examples/custom_overrides/fred/java_profile.sh index 0f25a7ac..69cb9308 100644 --- a/examples/custom_overrides/fred/java_profile.sh +++ b/examples/custom_overrides/fred/java_profile.sh @@ -63,7 +63,7 @@ if [ ! -d "$JAVA_HOME" ]; then JAVA_BIN_PIECE=Commands fi # last thing is to tell them we couldn't find it. -if [ ! -d "$JAVA_HOME" -a -z "$(which java)" ]; then +if [ ! -d "$JAVA_HOME" -a -z "$(which java 2>/dev/null)" ]; then intuition_failure JAVA_HOME unset JAVA_BIN_PIECE fi @@ -94,7 +94,7 @@ if [ ! -d "$ECLIPSE_DIR" ]; then ECLIPSE_DIR="/e/tools/eclipse" fi # final option is to whine. -if [ ! -d "$ECLIPSE_DIR" -a -z "$(which eclipse)" ]; then +if [ ! -d "$ECLIPSE_DIR" -a -z "$(which eclipse 2>/dev/null)" ]; then intuition_failure ECLIPSE_DIR fi