mirror of git://bitreich.org/reed-alert
Launcher file to modify
This commit is contained in:
parent
0f22f5b505
commit
4bcecb442f
|
@ -0,0 +1,29 @@
|
|||
#!/bin/sh
|
||||
|
||||
REEDDIR=
|
||||
|
||||
# check for ecl
|
||||
type ecl 2>/dev/null
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
LISP="ecl"
|
||||
LOADPARAM="-load"
|
||||
SHELLPARAM="-shell"
|
||||
else
|
||||
# check for sbcl if ecl not in PATH
|
||||
type sbcl 2>/dev/null
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
LISP="sbcl"
|
||||
LOADPARAM="--load"
|
||||
SHELLPARAM="--shell"
|
||||
else
|
||||
echo "ecl or sbcl not found in PATH."
|
||||
echo "you need at least one of them to use reed-alert"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
$LISP $LOADPARAM $REEDDIR/functions.lisp \
|
||||
$LOADPARAM $REEDDIR/probes.lisp \
|
||||
$SHELLPARAM $1
|
Loading…
Reference in New Issue