summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/zetagrid/files/zetagrid.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-sci/zetagrid/files/zetagrid.init b/app-sci/zetagrid/files/zetagrid.init
index 4f1fd2c4a6a3..b08469a51c66 100644
--- a/app-sci/zetagrid/files/zetagrid.init
+++ b/app-sci/zetagrid/files/zetagrid.init
@@ -6,7 +6,7 @@ ZETADIR=/opt/zetagrid/
start() {
ebegin "Starting zetagrid"
cd ${ZETADIR}
- JAVA_HOME="/bin/grep -e "JAVA_HOME" /etc/profile.env | sed -e "s/^.*'\(.*\)'$/\1/""
+ JAVA_HOME="`/bin/grep -e "JAVA_HOME" /etc/profile.env | sed -e "s/^.*'\(.*\)'$/\1/"`"
export PATH=$PATH:$JAVA_HOME/bin
./zeta.sh >/dev/null
eend $? "Failed to start zetagrid"