[latex3-commits] [git/LaTeX3-latex3-l3build] master: Support relative directories as arg to --texmfhome (34bb18f)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Oct 19 12:55:45 CEST 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/34bb18ffececd23d886973c2f761f40653ce4944

>---------------------------------------------------------------

commit 34bb18ffececd23d886973c2f761f40653ce4944
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Oct 19 11:55:45 2018 +0100

    Support relative directories as arg to --texmfhome


>---------------------------------------------------------------

34bb18ffececd23d886973c2f761f40653ce4944
 CHANGELOG.md        |    4 ++++
 l3build-install.lua |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 39f5ebf..d742537 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+## Fixed
+
+- Support relative directories as argument to `--texmfhome`
+
 ## [2018-09-23]
 
 ## Changed
diff --git a/l3build-install.lua b/l3build-install.lua
index 12c5991..f32dcd0 100644
--- a/l3build-install.lua
+++ b/l3build-install.lua
@@ -36,7 +36,7 @@ local insert = table.insert
 
 local function gethome()
   set_program("latex")
-  return options["texmfhome"] or var_value("TEXMFHOME")
+  return abspath(options["texmfhome"] or var_value("TEXMFHOME"))
 end
 
 function uninstall()





More information about the latex3-commits mailing list