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.
27 lines
463 B
Bash
Executable File
27 lines
463 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export MEDLEYDIR=`pwd`
|
|
|
|
if [ ! -f run-medley ] ; then
|
|
echo run from MEDLEYDIR
|
|
exit 1
|
|
fi
|
|
|
|
scr="-sc 1024x768 -g 1042x790"
|
|
|
|
mkdir -p "$MEDLEYDIR/tmp"
|
|
touch tmp/loadup.timestamp
|
|
|
|
./run-medley $scr -greet "$MEDLEYDIR"/sources/LOADUP-INIT.LISP -full
|
|
|
|
if [ tmp/init.dlinit -nt tmp/loadup.timestamp ]; then
|
|
|
|
echo ---- made ----
|
|
ls -l tmp/init.* tmp/RDSYS* tmp/I-NEW*
|
|
echo --------------
|
|
|
|
else
|
|
echo XXXXX FAILURE XXXXX
|
|
exit 1
|
|
fi
|