summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2016-05-16 03:17:51 +0000
committerNorbert Preining <preining@logic.at>2016-05-16 03:17:51 +0000
commitf25de5ef99caf4a39f5c100aa358aa1236816a51 (patch)
treef1a1e90b86eb6d3721243438bd7092aeb9048a39
parent0b6c96fa03f86cfb552e5e3eaa3cd0542c962410 (diff)
installer - make repo location absolute on non-NET installs
git-svn-id: svn://tug.org/texlive/trunk@41181 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/install-tl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 9ef3b4ab6a9..2bc05ef77a6 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -1741,7 +1741,8 @@ sub save_options_into_tlpdb {
if ($vars{'option_adjustrepo'} && ($media ne 'NET')) {
$localtlpdb->option ("location", $TeXLiveURL);
} else {
- $localtlpdb->option ("location", $location);
+ my $final_loc = ($media eq 'NET' ? $location : abs_path($location));
+ $localtlpdb->option ("location", $final_loc);
}
$localtlpdb->option ("autobackup", $vars{'option_autobackup'});
$localtlpdb->option ("backupdir", $vars{'option_backupdir'});