summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-check-wrapper-consistency
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-04-23 22:58:48 +0000
committerKarl Berry <karl@freefriends.org>2023-04-23 22:58:48 +0000
commit0d4cabbf8c600cc049f2e03d601ddfcaf136afce (patch)
treec962a27d45cd36f7246b70bca33d84ef01542593 /Master/tlpkg/bin/tl-check-wrapper-consistency
parentd858a8eb881e466f6c3750b7648391fcac0a3263 (diff)
c2a: avoid catalogue update unless place.
c2l: die if argument contains a /, common typo. tl-check-wrapper-consistency: skip {context,mtxrun}.lua. ctan2tds, context-texlive.tlpsrc, tlpkg-ctan-check (TLP_no_check): doc for homegrown context-texlive. git-svn-id: svn://tug.org/texlive/trunk@66923 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-check-wrapper-consistency')
-rwxr-xr-xMaster/tlpkg/bin/tl-check-wrapper-consistency8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tl-check-wrapper-consistency b/Master/tlpkg/bin/tl-check-wrapper-consistency
index b7c6dd8c356..3db1f5e576b 100755
--- a/Master/tlpkg/bin/tl-check-wrapper-consistency
+++ b/Master/tlpkg/bin/tl-check-wrapper-consistency
@@ -62,7 +62,10 @@ sub unx_wrapper_entries {
die "readlink($ent) failed: $!" if !defined ($target);
next unless $target =~ /^\.\./; # skip all but .. symlinks
- # the target of the symlink should be executable.
+ # skip {context,mtxrun}.lua:
+ next if $ent =~ /\.lua$/;
+
+ # the target of the symlink should otherwise be executable.
warn "$ent: target $target not executable\n" if ! -x $target;
$ret{$ent} = $target; # remember name and link target
@@ -91,9 +94,6 @@ sub check_w32 {
for my $k (sort keys %uw) {
next if $is_shell_script{$k}; # skip shell scripts
#
- # skip {context,mtxrun}.lua:
- next if $k =~ /\.lua$/;
- #
# also skip these special cases:
next if $k =~
/^(epspdftk|latexindent|mktex.*|texdoctk|tlcockpit|tlmgr|tlshell|xasy)$/;