diff --git a/entrypoint.sh b/entrypoint.sh index 379e1f4..2b28520 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -8,11 +8,13 @@ if [ ! -d $2 ]; then echo "Path $2 could not be found!" + exit 1 fi cd $2 if [ ! -f $1 ]; then echo "File $1 could not be found!" + exit 1 fi # install packages; add latex-related packages only if enabled