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/tlpsrc2tlpdb | |
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/tlpsrc2tlpdb')
-rwxr-xr-x | Master/tlpkg/bin/tlpsrc2tlpdb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlpsrc2tlpdb b/Master/tlpkg/bin/tlpsrc2tlpdb index 629f692cae7..686bab6bd9b 100755 --- a/Master/tlpkg/bin/tlpsrc2tlpdb +++ b/Master/tlpkg/bin/tlpsrc2tlpdb @@ -14,6 +14,7 @@ BEGIN { use strict; +use TeXLive::TLConfig; use TeXLive::TLPSRC; use TeXLive::TLPOBJ; use TeXLive::TLPDB; @@ -94,7 +95,7 @@ sub main # write the new db, to the real location given --all, or stdout. if ($opt_all) { local *TLPDB; - our $TLPDB = ">$opt_master/texlive.tlpdb"; + our $TLPDB = ">$opt_master/$TeXLive::TLConfig::InfraLocation/texlive.tlpdb"; open (TLPDB) || die "open($TLPDB) failed: $!"; $tldb->writeout (*TLPDB); warn "$0: wrote $src_count packages $TLPDB.\n"; |