From 0339c65ee26e62779e06201cdc67c031e14305da Mon Sep 17 00:00:00 2001 From: low012 Date: Tue, 31 Jul 2007 20:41:54 +0000 Subject: [PATCH] *) note to myself: Just because it works with Linux and most of it works with OpenSolaris does not mean the whole thing works with OpenSolaris. Being lazy never pays off! git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4018 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- startYACY.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/startYACY.sh b/startYACY.sh index 5978e1fc3..0c339b13c 100755 --- a/startYACY.sh +++ b/startYACY.sh @@ -81,12 +81,12 @@ if [ -f DATA/SETTINGS/httpProxy.conf ] then # startup memory for i in Xmx Xms; do - j=$(grep javastart_$i DATA/SETTINGS/httpProxy.conf | sed 's/^[^=]*=//'); + j="`grep javastart_$i DATA/SETTINGS/httpProxy.conf | sed 's/^[^=]*=//'`"; if [ -n $j ]; then JAVA_ARGS="-$j $JAVA_ARGS"; fi; done # Priority - j=$(grep javastart_priority DATA/SETTINGS/httpProxy.conf | sed 's/^[^=]*=//'); + j="`grep javastart_priority DATA/SETTINGS/httpProxy.conf | sed 's/^[^=]*=//'`"; if [ ! -z "$j" ];then if [ -n $j ]; then JAVA="nice -n $j $JAVA"; fi; @@ -102,7 +102,7 @@ fi # generating the proper classpath CLASSPATH="" -for N in lib/*.jar; do CLASSPATH="$CLASSPATH$N:"; done +for N in lib/*.jar; do CLASSPATH="$CLASSPATH$N:"; done for N in libx/*.jar; do CLASSPATH="$CLASSPATH$N:"; done CLASSPATH="classes:.:htroot:$CLASSPATH"