diff options
Diffstat (limited to 'journal.cgi')
-rwxr-xr-x | journal.cgi | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/journal.cgi b/journal.cgi index d9533fc..bbec698 100755 --- a/journal.cgi +++ b/journal.cgi @@ -8,18 +8,4 @@ else LISPINIT_DIR="$NFSN_SITE_ROOT/protected/journal" fi -mtime_of() { - stat -n -f "%m" -t "%s" "$1" || echo -n 0 -} - -FASL_FILE="$LISPINIT_DIR/journal-full.fas" - -most_recently_changed_lisp_file=`ls -rt $DIR/*.lisp | tail -n1` -lisp_mtime=`mtime_of $most_recently_changed_lisp_file` - -if ! [ -f "$FASL_FILE" -a \( `mtime_of "$FASL_FILE"` -gt $lisp_mtime \) ]; then - env LC_ALL=de_DE.UTF-8 clisp -M "$LISPINIT_DIR/lispinit.mem.gz" "$DIR/compile.lisp" &&\ - (cd "$DIR" && cat cybertiggyr-time/time.fas xmls/xmls.fas ironclad/package.fas ironclad/macro-utils.fas ironclad/digest.fas ironclad/sha1.fas defpackage.fas macros.fas globals.fas utils.fas journal-content.fas journal.fas main.fas > "$FASL_FILE") -fi - -exec env LC_ALL=de_DE.UTF-8 clisp -q -q -M "$LISPINIT_DIR/lispinit.mem.gz" -x "(progn (load \"$FASL_FILE\") (cl-user::script-main))" +exec env LC_ALL=de_DE.UTF-8 clisp -M "$LISPINIT_DIR/lispinit.mem.gz" "$DIR/run.lisp" |