diff options
| author | allo <allo@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2006-02-02 17:36:33 +0000 |
|---|---|---|
| committer | allo <allo@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2006-02-02 17:36:33 +0000 |
| commit | 7bc393c7e9c2df60bd284b3a5d45bd224d657d09 (patch) | |
| tree | 95d6fcb2c5fc7b26ae7d0498dac8f7f23d1882b3 | |
| parent | 50d85657b8c24ee35036154b200b3f52cd62fe52 (diff) | |
Nothing in Errolog, if libx is not used
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1519 6c8d7289-2bf4-0310-a012-ef5d649a1542
| -rwxr-xr-x | startYACY.sh | 13 | ||||
| -rwxr-xr-x | stopYACY.sh | 4 |
2 files changed, 10 insertions, 7 deletions
diff --git a/startYACY.sh b/startYACY.sh index c569962d9..415a240f5 100755 --- a/startYACY.sh +++ b/startYACY.sh @@ -9,14 +9,17 @@ else #get javastart args java_args="" - for i in $(grep javastart DATA/SETTINGS/httpProxy.conf); - do i="${i#javastart_*=}";java_args=-$i" "$java_args; - done + if [ -f DATA/SETTINGS/httpProxy.conf ] + then + for i in $(grep javastart DATA/SETTINGS/httpProxy.conf); + do i="${i#javastart_*=}";java_args=-$i" "$java_args; + done + fi # generating the proper classpath CLASSPATH="" - for N in `ls -1 lib/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done - for N in `ls -1 libx/*.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 if [ x$1 == x-d ] #debug then diff --git a/stopYACY.sh b/stopYACY.sh index dffc0e030..b46029ab2 100755 --- a/stopYACY.sh +++ b/stopYACY.sh @@ -10,8 +10,8 @@ else # generating the proper classpath CLASSPATH="" -for N in `ls -1 lib/*.jar`; do CLASSPATH="$CLASSPATH$N:"; done -for N in `ls -1 libx/*.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 java -classpath classes:htroot:$CLASSPATH yacy -shutdown fi |
