diff options
author | Norbert Preining <preining@logic.at> | 2007-11-19 09:07:22 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-19 09:07:22 +0000 |
commit | 92bfa1af5b97ddd5caa2d5f57f0c4fea497e8c0c (patch) | |
tree | b1c563592f56c35a7fdb7cccff03a7f36e791098 /Master/tlpkg/bin/tlprm | |
parent | eccf95d4124f0d01c2d5bdc66214fb8cd4ec7d63 (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/tlprm')
-rwxr-xr-x | Master/tlpkg/bin/tlprm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlprm b/Master/tlpkg/bin/tlprm index 07fcd0e10c6..60ec0622cce 100755 --- a/Master/tlpkg/bin/tlprm +++ b/Master/tlpkg/bin/tlprm @@ -18,6 +18,7 @@ BEGIN { use strict; +use TeXLive::TLConfig; use TeXLive::TLPDB; use TeXLive::TLPSRC; use Pod::Usage; @@ -42,7 +43,8 @@ sub main # xx should default in TLPDB. chomp (my $Master = `cd $mydir/../.. && pwd`); - my $tlpdb = TeXLive::TLPDB->new (location => "$Master/texlive.tlpdb"); + my $tlpdb_path = "$Master/$TeXLive::TLConfig::InfraLocation/texlive.tlpdb"; + my $tlpdb = TeXLive::TLPDB->new (location => $tlpdb_path); foreach my $f (@ARGV) { my $obj = $tlpdb->get_package ($f); |