Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.59 1998/11/28 21:08:14 grubba Exp $ + # $Id: start,v 1.60 1998/11/28 21:13:53 grubba Exp $      cd `dirname $0`      VERSION=202; BETA=.b;      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"   program=base_server/roxenloader.pike
Roxen.git/server/start:308:   #   # Some useful functions   #      rotate () {    b=5;    for a in 4 3 2 1 ; do mv -f $1.$a $1.$b 2> /dev/null; b=$a; done   }      start_roxen() { -  if [ x$DIR != xconfigurations ] ; then +  if [ "x$DIR" != "x../configurations/" ] ; then    args="-DROXEN $DEBUG $DEFINES $program --config-dir=$DIR $pass"    else    args="-DROXEN $DEBUG $DEFINES $program $pass"    fi    if [ x$cd_to != x ] ; then    cd $cd_to    fi    if [ "x$gdb" = "xno" ]; then    echo "PIKE_MODULE_PATH=$PIKE_MODULE_PATH"    echo Executing $pike $args $@