Check if file exists when using the launcher

This commit is contained in:
Solene Rapenne 2018-11-07 11:46:27 +01:00
parent 95b8e54fae
commit 121e59664b
1 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,12 @@ then
exit 2
fi
if [ ! -f "$1" ]
then
echo "$1 not found"
exit 3
fi
# prevent interpreter output when loading files
$LISP $PARAMS --eval \
"(let ((*standard-output* (make-broadcast-stream)))