summaryrefslogtreecommitdiff
path: root/base-install.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-04-07 10:14:07 +0200
committerAndreas Maunz <andreas@maunz.de>2011-04-07 10:14:07 +0200
commit9346772a7eefac2f3d582e438320665be019a3b8 (patch)
tree71e06ac48f97af4569816c810282b859f4eabafe /base-install.sh
parent2140505b9ee2b2b30886dd1b9c5bbf344a708b49 (diff)
Fixed missing output deletion
Diffstat (limited to 'base-install.sh')
-rw-r--r--base-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/base-install.sh b/base-install.sh
index 524283a..30d7d0f 100644
--- a/base-install.sh
+++ b/base-install.sh
@@ -83,7 +83,7 @@ if [ ! -f $JAVA_CONF ]; then
fi
echo "if echo \"\$JAVA_HOME\" | grep -v \"$OT_JAVA_HOME\">/dev/null 2>&1; then export JAVA_HOME=\"$OT_JAVA_HOME\"; fi" >> "$JAVA_CONF"
- echo "if echo \"\$PATH\" | grep -v \"$OT_JAVA_HOME\"; then export PATH=\"$OT_JAVA_HOME:\$PATH\"; fi" >> "$JAVA_CONF"
+ echo "if echo \"\$PATH\" | grep -v \"$OT_JAVA_HOME\">/dev/null 2>&1; then export PATH=\"$OT_JAVA_HOME:\$PATH\"; fi" >> "$JAVA_CONF"
echo "Java configuration has been stored in '$JAVA_CONF'."
if ! grep "$JAVA_CONF" $OT_UI_CONF >/dev/null 2>&1; then