Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.75 1999/09/05 02:19:34 per Exp $ + # $Id: start,v 1.76 1999/09/06 12:40:36 per 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:54:    echo "$pre Pike 0.5 detected. Exiting."    exit 1    fi    DEFINES="`echo $DEFINES | sed -e 's/-DENABLE_THREADS//'`"    fi    fi   fi      gdb=no    + remove_old_dot_o_files () { +  echo "$pre Removing old .o files ($1)" +  find . -name '*.o' | xargs rm -f + } +  +    ## Parse all arguments.   ## GNU-style, long options only, except for -D, simply passed on.   parse_args() {    while [ ! c"$1" = "c" ] ; do    case $1 in    -D*)    DEFINES="$DEFINES $1"    ;; -  +  -l*) +  DEFINES="$DEFINES $1" +  ;;   # Used by the 'install' script    --truss)    pike="truss $pike"    ;;    --truss-c)    pike="truss -c $pike"    ;;    --log-dir=*)    LOGDIR=`echo $1 | sed -e 's/--log-dir=//'`    ;;
Roxen.git/server/start:381:    DEFINES="$DEFINES -DHPUX_KLUDGE"   fi      ####### END PIKE OPTIONS         #   # Some useful functions   #    - remove_old_dot_o_files () { -  echo "$pre Removing old .o files ($1)" -  find . -name '*.o' | xargs rm -f - } -  -  +    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" != "x../configurations/" ] ; then    args="$DEFINES $program --config-dir=$DIR $pass"    else    args="$DEFINES $program $pass"