summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlpdb2container
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2007-11-19 09:07:22 +0000
committerNorbert Preining <preining@logic.at>2007-11-19 09:07:22 +0000
commit92bfa1af5b97ddd5caa2d5f57f0c4fea497e8c0c (patch)
treeb1c563592f56c35a7fdb7cccff03a7f36e791098 /Master/tlpkg/bin/tlpdb2container
parenteccf95d4124f0d01c2d5bdc66214fb8cd4ec7d63 (diff)
change location of texlive.tlpdb and texlive.pkgver to
$TeXLive::TLConfig::InfraLocation which is Master/tlpkg Adapt all the scripts to use the above variable git-svn-id: svn://tug.org/texlive/trunk@5516 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tlpdb2container')
-rwxr-xr-xMaster/tlpkg/bin/tlpdb2container3
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;