Branch: Tag:

1998-05-10

1998-05-10 20:12:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some fixes.

Rev: server/start:1.33

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;   
26:   # 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