You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/addon/YaCy.app/Contents/MacOS/JavaApplicationStub

17 lines
368 B

#!/bin/sh
PRG=$0
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null`
if expr "$link" : '^/' 2> /dev/null >/dev/null; then
PRG="$link"
else
PRG="`dirname "$PRG"`/$link"
fi
done
PROGDIR=`dirname "$PRG"`
cd "$PROGDIR"/../../
echo `pwd`
cd Contents/Resources/Java
./startYACY.sh -gui Library/YaCy