projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fd6f35
)
fixed proc/mounts thing.
author
Chris Koeritz
<fred@gruntose.com>
Mon, 30 Sep 2013 00:57:54 +0000
(19:57 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Mon, 30 Sep 2013 00:57:54 +0000
(19:57 -0500)
customizing/fred/java_profile.sh
patch
|
blob
|
history
diff --git
a/customizing/fred/java_profile.sh
b/customizing/fred/java_profile.sh
index f9268a015adb5b9de99591e41d5501452b784e16..8c731ecc8b52ac403fabcb603968bf09dd5c5a55 100644
(file)
--- 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