diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-09-30 00:52:21 +0200 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-09-30 00:52:21 +0200 |
commit | b33482c0608751d19c40bb724cc7dfff16c2cb0d (patch) | |
tree | 91fecbcd2a42e6b513e0e10a79c1d2566f169e31 /journal.cgi | |
parent | 033516172c84bc772c7deeea8875445b4e7d48a2 (diff) |
Make journal.cgi usable on NearlyFreeSpeech.NET.
darcs-hash:01e7640968def891b020f6e5cd216a605c474ce9
Diffstat (limited to 'journal.cgi')
-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" "$@" |