From: Chris Koeritz Date: Mon, 30 Sep 2013 00:57:54 +0000 (-0500) Subject: fixed proc/mounts thing. X-Git-Tag: 2.140.90~917 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=0d77851abf1f2f53905c04aa9b17c1d076f0ce36;p=feisty_meow.git fixed proc/mounts thing. --- diff --git a/customizing/fred/java_profile.sh b/customizing/fred/java_profile.sh index f9268a01..8c731ecc 100644 --- a/customizing/fred/java_profile.sh +++ b/customizing/fred/java_profile.sh @@ -91,12 +91,12 @@ if [ ! -d "$ECLIPSE_DIR" ]; then ECLIPSE_DIR="c:/tools/eclipse" fi if [ ! -d "$ECLIPSE_DIR" ]; then - if [ ! -z "$(grep -i 'd:' /proc/mounts)" ]; then + if [ ! -z "$(grep -i 'd:' /proc/mounts 2>/dev/null)" ]; then ECLIPSE_DIR="d:/tools/eclipse" fi fi if [ ! -d "$ECLIPSE_DIR" ]; then - if [ ! -z "$(grep -i 'e:' /proc/mounts)" ]; then + if [ ! -z "$(grep -i 'e:' /proc/mounts 2>/dev/null)" ]; then ECLIPSE_DIR="e:/tools/eclipse" fi fi