summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/check-wrapper-consistency
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2009-12-03 20:13:28 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2009-12-03 20:13:28 +0000
commiteaeca33b52205edec9617a9fe4dccb8a362ca3d3 (patch)
treef4f9e8e6092f1f2509d59b2ff6fbbd18a3d36ea1 /Master/tlpkg/bin/check-wrapper-consistency
parent86fab6d87ab71745fb879828db94aad36ccb4e0c (diff)
consitency check for dvigif and fmtutil-sys
git-svn-id: svn://tug.org/texlive/trunk@16279 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/check-wrapper-consistency')
-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;