diff options
-rwxr-xr-x | journal.cgi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/journal.cgi b/journal.cgi index a23b433..675d117 100755 --- a/journal.cgi +++ b/journal.cgi @@ -1,3 +1,11 @@ #! /bin/sh DIR=`dirname "$0"` -exec clisp -M "$DIR/lispinit.mem.gz" "$DIR/run.lisp" "$@" +if test -e /home/mulk; then + # MST-plus. + LISPINIT_DIR="$DIR" +else + # NearlyFreeSpeech.NET. + LISPINIT_DIR=/home/protected/journal +fi + +exec clisp -M "$LISPINIT_DIR/lispinit.mem.gz" "$DIR/run.lisp" "$@" |