From 03d5ee6cbb7ca97f932b0b52964d6317c369c127 Mon Sep 17 00:00:00 2001 From: Matthieu Moy Date: Sat, 6 Apr 2019 14:51:20 +0200 Subject: [PATCH] use $LATEX_EXEC, not hardcoded pdflatex --- git-latexdiff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-latexdiff b/git-latexdiff index 8f900fa..73f4043 100755 --- a/git-latexdiff +++ b/git-latexdiff @@ -644,7 +644,7 @@ if test "$flatten" = 1; then verbose "Attempting to regenerate missing old/$maindir$mainbase.bbl" oldPWD=$PWD cd old/"$maindir" - log_cmd pdflatex0.log pdflatex $latexopt "$mainbase" || compile_error=1 + log_cmd pdflatex0.log $LATEX_EXEC $latexopt "$mainbase" || compile_error=1 log_cmd bibtex0.log bibtex "$mainbase" || compile_error=1 cd "$oldPWD" ignore_errors_maybe