diff options
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index f5015ac56b6..544628e85f4 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -5968,9 +5968,11 @@ sub POST_do_man { my $mandest = "$TOPDEST/texmf-dist/doc/man/man1"; print "POST_do_man - mv *.1 man pages from $src_mandir to $mandest\n"; &xmkdir ($mandest); + chomp (my $origdir = `pwd`); &xchdir ($DEST); &SYSTEM ("$MV $src_mandir/*.1 $mandest") unless $src_mandir eq $mandest; &tl_man_to_pdf (); + &xchdir ($origdir); } sub POST_preserve_bin { |