diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-17 20:30:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-17 20:30:35 +0000 |
commit | c389b7299225b11856320fa1561f9b1ca35bbc6b (patch) | |
tree | 924a04ffd988fc845b43e88880a21664b97340d5 /Master/texmf-dist/doc/support/latexmk/example_rcfiles/pythontex-latexmkrc | |
parent | 3917441f015eb84d969489a2dfb8e0c85142d0c0 (diff) |
latexmk (17mar22) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62768 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/latexmk/example_rcfiles/pythontex-latexmkrc')
-rw-r--r-- | Master/texmf-dist/doc/support/latexmk/example_rcfiles/pythontex-latexmkrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/support/latexmk/example_rcfiles/pythontex-latexmkrc b/Master/texmf-dist/doc/support/latexmk/example_rcfiles/pythontex-latexmkrc index ba02de3ee78..825706a630b 100644 --- a/Master/texmf-dist/doc/support/latexmk/example_rcfiles/pythontex-latexmkrc +++ b/Master/texmf-dist/doc/support/latexmk/example_rcfiles/pythontex-latexmkrc @@ -21,7 +21,7 @@ sub mypythontex { my $result_dir = $aux_dir1."pythontex-files-$$Pbase"; my $ret = Run_subst( $pythontex, 2 ); rdb_add_generated( glob "$result_dir/*" ); - my $fh = new FileHandle $$Pdest, "r"; + open( my $fh, "<", $$Pdest ); if ($fh) { while (<$fh>) { if ( /^%PythonTeX dependency:\s+'([^']+)';/ ) { |