diff options
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index d49e7e7174d..55aaa86e10b 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1777,7 +1777,7 @@ $standardsource='\.(bat|c|drv|dtx|fea|fdd|ins|sfd)$|configure.*|install-sh'; 'epspdf', 'NULL', # leave .install 'eskdx', 'NULL', # leave makefiles 'eurosym', 'NULL', # leave makefiles, etc. - 'export', '\.l|' . $standardsource, + 'export', '\.l$|' . $standardsource, 'feynmf', 'feynmf\.pl|' . $standardsource, 'findhyph', 'NULL', # leave makefile 'fmtcount', 'fmtcount.perl|' . $standardsource, @@ -2369,7 +2369,7 @@ for (@ARGV) { $BUILDDEST = "$COOKED_PKG/Build/source"; $TOPDEST = "$COOKED_PKG/Master"; } else { - $BUILDDEST = "oops, no builddest should be needed?"; + $BUILDDEST = "oops-no-builddest-should-be-needed?!"; $TOPDEST = $COOKED_PKG; # that is, Master } @@ -2850,6 +2850,7 @@ sub doscripts { my $build_tldir = "texk/texlive"; my $build_scriptsdir = "$build_tldir/linked_scripts"; my $builddir = "$BUILDDEST/$build_scriptsdir/$package"; + my @scripts = (); # first do the user-visible bindir entries. $scriptpatt = $specialscripts_bin{$package}; @@ -2859,10 +2860,11 @@ sub doscripts { &install ("$DEST/scripts/$package", $scriptpatt); &SYSTEM ("chmod a+x $DEST/scripts/$package/*"); } - + # # update the copy in Build (the reason we do the bindir ones first). &xmkdir ($builddir); &SYSTEM ("$CP $DEST/scripts/$package/* $builddir/"); + chomp (my @scripts = `cd $builddir && ls`); } # then do the ones that go only under scripts/ and not in the bindirs. @@ -2876,7 +2878,6 @@ sub doscripts { } # List of scripts we just copied in for installing in the bindirs. - chomp (my @scripts = `cd $builddir && ls`); return unless @scripts; # For each, give a warning if missing from the Makefile.am in the sources. |