diff options
Diffstat (limited to 'Master/tlpkg/bin/tlpdb2container')
-rwxr-xr-x | Master/tlpkg/bin/tlpdb2container | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlpdb2container b/Master/tlpkg/bin/tlpdb2container index cf75e532503..68d4768dbe9 100755 --- a/Master/tlpkg/bin/tlpdb2container +++ b/Master/tlpkg/bin/tlpdb2container @@ -15,6 +15,7 @@ BEGIN { use strict; +use TeXLive::TLConfig; use TeXLive::TLPOBJ; use TeXLive::TLPDB; use Getopt::Long; @@ -44,7 +45,7 @@ sub main { # get the db. chomp (my $Master = `cd $mydir/../.. && pwd`); # xx TLPDB should default - my $tlpdb_path = "$Master/texlive.tlpdb"; + my $tlpdb_path = "$Master/$TeXLive::TLConfig::InfraLocation/texlive.tlpdb"; my $tlpdb = TeXLive::TLPDB->new ("location" => $tlpdb_path); die("Cannot load tlpdb at $tlpdb_path!\n") unless defined($tlpdb); my @packs; |