diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-06 23:56:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-06 23:56:11 +0000 |
commit | 2178272607bfd8c2ed3a2c784629142ee808c607 (patch) | |
tree | 0d52b65361831546266b360d2af5fce40d4a55ee /Master/tlpkg/bin | |
parent | b31d3f8b0397dbc29beaa4c991ff77d90d703e10 (diff) |
consistency fixes
git-svn-id: svn://tug.org/texlive/trunk@15168 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-x | Master/tlpkg/bin/check-wrapper-consistency | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/check-wrapper-consistency b/Master/tlpkg/bin/check-wrapper-consistency index ef1b46b58b4..a2699ecd2c5 100755 --- a/Master/tlpkg/bin/check-wrapper-consistency +++ b/Master/tlpkg/bin/check-wrapper-consistency @@ -84,7 +84,7 @@ sub unx_wrapper_entries -# windows is special, as usual. given the list of wrappers in UW, check +# Windows is special, as usual. Given the list of wrappers in UW, check # that each of those entries exists in W32DIR as a .exe, and is a copy # of the canonical w32 wrapper specified in W32CANONICAL. # @@ -96,6 +96,7 @@ sub check_w32 for my $k (sort keys %uw) { my $target = $uw{$k}; next if $target =~ /context/; # does things its own way + next if $target =~ /listings-ext/; # shell script next if $target =~ /man/; # no symlink next if $target =~ /ps4pdf/; # has its own .bat next if $target =~ /simpdftex/; # shell script @@ -111,9 +112,15 @@ sub check_w32 closedir (DIR) || warn "closedir($DIR) failed: $!"; foreach my $f (@binfiles) { - next if ($f =~ /^tlmgr\.bat$/); # .exe would prevent tlmgr update --self! - next if ($f =~ /^tl-w32-wrapper\.cmd$/); # no .exe stub for the universal wrapper - next unless ($f =~ s/\.(bat|cmd)$/\.exe/); # only if batch file + # .exe would prevent tlmgr update --self! + next if ($f =~ /^tlmgr\.bat$/); + # + # no .exe stub for the universal wrapper: + next if ($f =~ /^tl-w32-wrapper\.cmd$/); + # + # only if batch file: + next unless ($f =~ s/\.(bat|cmd)$/\.exe/); + $diff += system ("cmp $w32dir/$f $w32canonical"); } |