diff options
Diffstat (limited to 'Master/tlpkg/bin/check-execute-consistency')
-rwxr-xr-x | Master/tlpkg/bin/check-execute-consistency | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/Master/tlpkg/bin/check-execute-consistency b/Master/tlpkg/bin/check-execute-consistency index f5642057fb3..ccb569cc23c 100755 --- a/Master/tlpkg/bin/check-execute-consistency +++ b/Master/tlpkg/bin/check-execute-consistency @@ -46,7 +46,7 @@ sub main my $foo = $2; chomp($foo); push @{$maps{$foo}}, $pkg; - } elsif ($e =~ m/BuildFormat\s+(.*)$/) { + } elsif ($e =~ m/AddFormat\s+(.*)$/) { my $foo = $1; chomp($foo); push @{$fmtcodes{$foo}}, $pkg; @@ -114,13 +114,21 @@ sub main # print "\t$mf (@{$problemhyphen{$mf}})\n"; # } #} + # + # what should be checked for the executes? we could check + # - the existence of the engine in bin/i386-linux or all $arch + # - the existence of the format name link/bat + # - parse the options parameter and check for the inifile + # - rework the format definition that we have inifile=pdflatex.ini + # isn't the * unnecessary? + tlwarn("checking of AddFormat lines disabled!\n"); my %badfmtcodes; - foreach my $lc (keys %fmtcodes) { - my @found = $tlpdb->find_file("texmf/fmtutil/format.$lc.cnf"); - if ($#found < 0) { - $badfmtcodes{$lc} = $fmtcodes{$lc}; - } - } + #foreach my $lc (keys %fmtcodes) { + # my @found = $tlpdb->find_file("texmf/fmtutil/format.$lc.cnf"); + # if ($#found < 0) { + # $badfmtcodes{$lc} = $fmtcodes{$lc}; + # } + #} if (keys %badfmtcodes) { print "mentioned fmt codes without fmtutil.XXX.cnf:\n"; foreach my $mf (keys %badfmtcodes) { |