Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.39 1998/07/08 19:13:08 mast Exp $ + # $Id: start,v 1.40 1998/07/08 19:53:38 mast Exp $      VERSION=202; BETA=.b;      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"   program=base_server/roxenloader.pike      # Enable threads (if available) on Solaris.
Roxen.git/server/start:18:    DEFINES="$DEFINES -DENABLE_THREADS"    fi   fi      # Roxen will create files as the initial user,   # which it expects to be able to read as the run-time user.   umask 022      # Pike default Master-program   if [ "x$PIKE_MASTER" = "x" ]; then -  if [ -d lib/pike/share ]; then +  if [ -d share/pike ]; then    # This is used with localinstall -  DEFINES="$DEFINES -mlib/pike/master.pike -Ilib/pike/share/include" -  PIKE_MODULE_PATH="$PIKE_MODULE_PATH:lib/pike/modules:lib/pike/share/modules" -  elif [ -f lib/master.pike ]; then +  DEFINES="$DEFINES -Ishare/pike/include" +  PIKE_MODULE_PATH="$PIKE_MODULE_PATH:share/pike/modules" +  fi +  if [ -f lib/master.pike ]; then    DEFINES="$DEFINES -mlib/master.pike -Ilib/include"    PIKE_MODULE_PATH="$PIKE_MODULE_PATH:lib/modules"    elif [ -f lib/pike/master.pike ]; then    DEFINES="$DEFINES -mlib/pike/master.pike -Ilib/pike/include"    PIKE_MODULE_PATH="$PIKE_MODULE_PATH:lib/pike/modules"    fi    export PIKE_MODULE_PATH   else    # This is usefull when using several different Pikes.    # Specify include and module paths with