diff options
author | Norbert Preining <preining@logic.at> | 2009-05-12 15:53:11 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-05-12 15:53:11 +0000 |
commit | 7e5585bcd4f8ba119cad8f0a7e13b6a7a610776f (patch) | |
tree | c48db3cea0e4511d09d0e7b7fdf7ef7a04f68f6e /Master/tlpkg/bin/check-duplicated-runfiles | |
parent | c84165218f94bc15a1441e91a421f4d070bc5eb7 (diff) |
Move most of the stuff from tlpkg, tlmgr from branch to trunk
git-svn-id: svn://tug.org/texlive/trunk@13054 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/check-duplicated-runfiles')
-rwxr-xr-x | Master/tlpkg/bin/check-duplicated-runfiles | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/check-duplicated-runfiles b/Master/tlpkg/bin/check-duplicated-runfiles index d212c68e589..05a51860283 100755 --- a/Master/tlpkg/bin/check-duplicated-runfiles +++ b/Master/tlpkg/bin/check-duplicated-runfiles @@ -11,7 +11,7 @@ BEGIN { unshift (@INC, "$mydir/.."); } -use TeXLive::TLConfig; +use TeXLive::TLConfig qw/$RelocPrefix $RelocTree/; use TeXLive::TLPOBJ; use TeXLive::TLPDB; @@ -31,7 +31,9 @@ my @runtime_files = (); foreach my $tlpn ($tlpdb->list_packages) { next if ($tlpn =~ /$non_normal/); my $tlp = $tlpdb->get_package($tlpn); - push @runtime_files, $tlp->runfiles; + my @files = $tlp->runfiles; + if ($tlp->relocated) { for (@files) { s:^$RelocPrefix/:$RelocTree/:; } } + push @runtime_files, @files; } # build the duplicates list |