Skip to content

Commit 4a7f871

Browse files
committed
fix build script to support inputs/outputs not in current directory
1 parent 3778777 commit 4a7f871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ retry () {
384384

385385
TEMP_TEX_FILE="${build_dir}/${input_file}.tex"
386386
# LaTeX engines choose this filename based on TEMP_TEX_FILE's basename. It also emits a bunch of other files.
387-
TEMP_PDF_FILE="${input_file}.pdf"
387+
TEMP_PDF_FILE="$(basename ${input_file}).pdf"
388388

389389
LATEX_LOG="${build_dir}/latex.log"
390390

0 commit comments

Comments
 (0)