Each step of the loadup now starts with a 'touch' to create a timestamp. At the end of the loadup, it makes sure the files needed by the next step are newer. This will catch some of the problems.
26 lines
464 B
Bash
Executable File
26 lines
464 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export MEDLEYDIR=`pwd`
|
|
|
|
if [ ! -x run-medley ] ; then
|
|
echo must run from MEDLEYDIR ;
|
|
exit 1 ;
|
|
fi
|
|
scr="-sc 1024x768 -g 1042x790"
|
|
|
|
touch tmp/loadup.timestamp
|
|
|
|
./run-medley $scr -greet $MEDLEYDIR/sources/LOADUP-FULL.LCOM $MEDLEYDIR/tmp/lisp.sysout
|
|
|
|
if [ tmp/full.sysout -nt tmp/loadup.timestamp ]; then
|
|
|
|
echo ---- made ----
|
|
ls -l tmp/full.*
|
|
echo --------------
|
|
|
|
else
|
|
echo XXXXX FAILURE XXXXX
|
|
ls -l tmp/full.*
|
|
exit -1
|
|
fi
|