Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.243 2012/01/17 10:52:44 grubba Exp $ + # $Id$      ### If --silent-start is given as the first argument,   ### nothing will be printed to stdout by the script.      if [ "x$1" = "x--silent-start" ] ; then    SILENT_START="y"    shift   fi      check_owner() {
Roxen.git/server/start:647:    DEFINES="$DEFINES \"-m$roxendir/lib/pike/master.pike\""    fi    else    # This is useful 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 +  +  # Kludge to add pike modules required by base_server to the +  # module path. Remove when the package system comes in use. +  for d in modules/feedimport; do +  for pm in pike_modules pike-modules; do +  if [ -d "$roxendir/$d/$pm/." ]; then +  DEFINES="$DEFINES \"-M$roxendir/$d/$pm\""    fi -  +  done +  done + fi      # Extra module-path   #if [ -d etc/modules ]; then    DEFINES="$DEFINES \"-M$roxendir/etc/modules\""   #fi      if [ -d "$LOCALDIR/pike_modules/." ]; then    DEFINES="$DEFINES \"-M$LOCALDIR/pike_modules\""   fi