Skip to content

Commit

Permalink
force LATEX_DIR to resolve relatively
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnotmitt authored Feb 8, 2021
1 parent b153495 commit 5477452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5477452

Please sign in to comment.