Next try to fix start script for OpenBSD.

pull/1/head
Marc Nause 10 years ago
parent 2d2299f484
commit d23f7165ab

@ -38,7 +38,7 @@ Options
-l, --logging save the output of YaCy to yacy.log -l, --logging save the output of YaCy to yacy.log
-d, --debug show the output of YaCy on the console -d, --debug show the output of YaCy on the console
-p, --print-out only print the command, which would be executed to start YaCy -p, --print-out only print the command, which would be executed to start YaCy
-g, --gui start a gui for YaCy -g, --gui start a gui for YaCy
USAGE USAGE
} }
@ -52,7 +52,7 @@ then
echo "WARNING: Unfortunately this script does not support long options in $OS." echo "WARNING: Unfortunately this script does not support long options in $OS."
fi fi
options="`getopt -n YaCy -o h,d,l,p,t,g -- $@`" options="`getopt hdlptg: $*`"
else else
options="`getopt -n YaCy -o h,d,l,p,t,g -l help,debug,logging,print-out,tail-log,gui -- $@`" options="`getopt -n YaCy -o h,d,l,p,t,g -l help,debug,logging,print-out,tail-log,gui -- $@`"
fi fi

Loading…
Cancel
Save