Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.116 2000/06/26 18:46:31 sigge Exp $ + # $Id: start,v 1.117 2000/07/10 19:53:28 grubba Exp $      pre="`echo \" $$ \" | sed -e 's/\(.........\)\(.*\)/\1/g'` :"      cd `dirname $0`      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"   program=base_server/roxenloader.pike
Roxen.git/server/start:42:   # Do not default to using a relative path.   roxendir="`pwd`"      # Locate Pike binary.   pike=`type pike 2>/dev/null|head -1|sed -e 's,.*is ,,'`   if [ -x bin/pike ] ; then pike=$roxendir/bin/pike; fi   if [ -x bin/roxen ] ; then pike=$roxendir/bin/roxen; fi   if [ -x $LOCALDIR/bin/pike ] ; then pike=$LOCALDIR/bin/pike; fi   if [ -x $LOCALDIR/bin/roxen ] ; then pike=$LOCALDIR/bin/roxen; fi   if [ "x$PIKE" = "x" ]; then :; else -  if [ -x "$PIKE" ]; then pike="$PIKE"; fi +  if [ -x "$PIKE" ]; then pike="$PIKE"; +  else echo "$PIKE is not executable."; fi   fi         if [ x"$pike" = "x" ] ; then    echo "No pike binary found. Aborting."    exit 1   fi      if [ ! -f "$pike" ] ; then    echo "No pike binary found. Aborting."