summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/bin/check-wrapper-consistency11
1 files changed, 10 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/check-wrapper-consistency b/Master/tlpkg/bin/check-wrapper-consistency
index f5f483bad65..1e411aa46ae 100755
--- a/Master/tlpkg/bin/check-wrapper-consistency
+++ b/Master/tlpkg/bin/check-wrapper-consistency
@@ -37,6 +37,7 @@ sub main
# add some additional wrappers which are not found
# automatically since they are not .. symlinks on Unix.
+ $w{'dvigif'} = 1;
$w{'fmtutil-sys'} = 1;
$w{'updmap'} = 1;
$w{'updmap-sys'} = 1;
@@ -112,6 +113,8 @@ sub check_w32
closedir (DIR) || warn "closedir($DIR) failed: $!";
foreach my $f (@binfiles) {
+ my $cannonical = $w32canonical;
+ #
# .exe would prevent tlmgr update --self!
next if ($f =~ /^tlmgr\.bat$/);
#
@@ -120,8 +123,14 @@ sub check_w32
#
# only if batch file:
next unless ($f =~ s/\.(bat|cmd)$/\.exe/);
+ #
+ # dvigif.exe is now a copy of dvipng.exe
+ $cannonical = "$w32dir/dvipng.exe" if ($f =~ /^dvigif\.exe$/);
+ #
+ # fmtutil-sys.exe is now a copy of fmtutil.exe
+ $cannonical = "$w32dir/fmtutil.exe" if ($f =~ /^fmtutil-sys\.exe$/);
- $diff += system ("cmp $w32dir/$f $w32canonical");
+ $diff += system ("cmp $w32dir/$f $canonical");
}
return $diff;