[latex3-commits] [git/l3build] manifest: manifest: fix loading external lua file (519643c)
Will Robertson
wspr81 at gmail.com
Thu Dec 14 03:44:50 CET 2017
Repository : https://github.com/latex3/l3build
On branch : manifest
Link : https://github.com/latex3/l3build/commit/519643c7115e85e503590145e7f25e79d5132a7d
>---------------------------------------------------------------
commit 519643c7115e85e503590145e7f25e79d5132a7d
Author: Will Robertson <wspr81 at gmail.com>
Date: Thu Dec 14 13:14:50 2017 +1030
manifest: fix loading external lua file
>---------------------------------------------------------------
519643c7115e85e503590145e7f25e79d5132a7d
l3build.lua | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/l3build.lua b/l3build.lua
index ea54110..01e6bd0 100644
--- a/l3build.lua
+++ b/l3build.lua
@@ -2359,7 +2359,9 @@ bundleunpack = bundleunpack or function(sourcedirs, sources)
end
-dofile("l3build-manifest.lua")
+kpse.set_program_name("kpsewhich")
+build_kpse_path = dirname(kpse.lookup("l3build.lua"))
+require( kpse.lookup("l3build-manifest.lua", { path = build_kpse_path } ) )
function version()
More information about the latex3-commits
mailing list