diff options
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/texdef/texdef.pl | 2 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/texdef/texdef.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/texdef/texdef.pl b/Build/source/texk/texlive/linked_scripts/texdef/texdef.pl index 8ccc2ece4ae..219825d1abf 100755 --- a/Build/source/texk/texlive/linked_scripts/texdef/texdef.pl +++ b/Build/source/texk/texlive/linked_scripts/texdef/texdef.pl @@ -233,7 +233,7 @@ if ($FINDDEF && !$ISLATEX) { die "Error: The --find / -f option is only implemen my $cwd = getcwd(); $ENV{TEXINPUTS} = $cwd . ':' . ($ENV{TEXINPUTS} || ''); -my $TMPDIR = 'temp';#tempdir( 'texdef_XXXXXX', CLEANUP => 1, TMPDIR => 1 ); +my $TMPDIR = tempdir( 'texdef_XXXXXX', CLEANUP => 1, TMPDIR => 1 ); chdir $TMPDIR or die; my $TMPFILE = 'texdef.tex'; diff --git a/Master/texmf-dist/scripts/texdef/texdef.pl b/Master/texmf-dist/scripts/texdef/texdef.pl index 8ccc2ece4ae..219825d1abf 100755 --- a/Master/texmf-dist/scripts/texdef/texdef.pl +++ b/Master/texmf-dist/scripts/texdef/texdef.pl @@ -233,7 +233,7 @@ if ($FINDDEF && !$ISLATEX) { die "Error: The --find / -f option is only implemen my $cwd = getcwd(); $ENV{TEXINPUTS} = $cwd . ':' . ($ENV{TEXINPUTS} || ''); -my $TMPDIR = 'temp';#tempdir( 'texdef_XXXXXX', CLEANUP => 1, TMPDIR => 1 ); +my $TMPDIR = tempdir( 'texdef_XXXXXX', CLEANUP => 1, TMPDIR => 1 ); chdir $TMPDIR or die; my $TMPFILE = 'texdef.tex'; |