Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.32 1998/04/28 18:19:25 grubba Exp $ + # $Id: start,v 1.33 1998/05/10 20:12:38 grubba Exp $      VERSION=201; BETA=.a;      # 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:19:    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 [ -f lib/master.pike ]; then -  DEFINES="$DEFINES -mlib/master.pike -Mlib/modules -Ilib/include" +  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 -Mlib/pike/modules -Ilib/pike/include" +  DEFINES="$DEFINES -mlib/pike/master.pike -Ilib/pike/include" +  PIKE_MODULE_PATH="$PIKE_MODULE_PATH:lib/pike/modules"    else    # This is used with localinstall    if [ -f ../pike/src/lib/master.pike ]; then -  DEFINES="$DEFINES -m../pike/src/lib/master.pike -M../pike/src/lib/modules -I../pike/src/lib/include" +  DEFINES="$DEFINES -m../pike/src/lib/master.pike -I../pike/src/lib/include" +  PIKE_MODULE_PATH="$PIKE_MODULE_PATH:../pike/src/lib/modules" +  if [ -d ../pike/src/share/modules/. ]; then +  PIKE_MODULEPATH="$PIKE_MODULE_PATH:../pike/src/share/modules"    fi    fi -  +  fi   else    # This is usefull when using several different Pikes.    # Specify include and module paths with    # PIKE_INCLUDE_PATH and PIKE_MODULE_PATH    # they are handled automatically by the master,    # so no need to do it here.    DEFINES="$DEFINES -m$PIKE_MASTER"   fi      # Extra module-path