From 547745274a4d97e6ca24901dc87c59e043a7e97e Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 8 Feb 2021 18:24:24 +0000 Subject: [PATCH] force LATEX_DIR to resolve relatively --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index f2586fe..e513fb9 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,7 +17,7 @@ fi # install packages; add latex-related packages only if enabled if [ ! -z $3 ] ; then BUILD_LATEX=$3 && $(grep -q GENERATE_LATEX\\s\*=\\s\*YES $1) - LATEX_DIR="$(sed -n -e 's/^OUTPUT_DIRECTORY\s*=\s*//p' $1)/$(sed -n -e 's/^LATEX_OUTPUT\s*=\s*//p' $1)" + LATEX_DIR="./$(sed -n -e 's/^OUTPUT_DIRECTORY\s*=\s*//p' $1)/$(sed -n -e 's/^LATEX_OUTPUT\s*=\s*//p' $1)" else BUILD_LATEX=0 fi