From abc7a658198014c5a9545583cf1433bdd50fae5c Mon Sep 17 00:00:00 2001 From: "Clea F. Rees" Date: Tue, 19 Nov 2024 07:24:06 +0000 Subject: [PATCH] nfssext : require exps --- fontscripts/fntbuild.lua | 5 +++-- test/build.lua | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fontscripts/fntbuild.lua b/fontscripts/fntbuild.lua index 71e12ba..593a132 100644 --- a/fontscripts/fntbuild.lua +++ b/fontscripts/fntbuild.lua @@ -1,4 +1,4 @@ --- $Id: fntbuild.lua 10648 2024-11-19 05:45:07Z cfrees $ +-- $Id: fntbuild.lua 10650 2024-11-19 07:23:57Z cfrees $ ------------------------------------------------- ------------------------------------------------- -- copy non-public things from l3build @@ -1273,8 +1273,9 @@ if fntbuild_frag_path == nil then gwall("Search for ","self",1) end end +print("Found myself in " .. fntbuild_frag_path) local function fntbuild_require (frag) - require( kpse.lookup("fntbuild-" .. frag .. ".lua", { path = fntbuild_frag_path } ) ) + require( fntbuild_frag_path .. "/fntbuild-" .. frag .. ".lua" ) end fntbuild_require("ctan") ------------------------------------------------- diff --git a/test/build.lua b/test/build.lua index cc76428..1b0eba4 100755 --- a/test/build.lua +++ b/test/build.lua @@ -1,11 +1,11 @@ --- $Id: build.lua 10648 2024-11-19 05:45:07Z cfrees $ +-- $Id: build.lua 10650 2024-11-19 07:23:57Z cfrees $ -- Build configuration for testadf ctanpkg = "testadf" module = "test" vendor = "arkandis" maindir = ".." -- buildsuppfiles_sys = {"fontinst.sty"} -dofile("../fontscripts/fntbuild.lua") +dofile(maindir .. "/fontscripts/fntbuild.lua") -- flatten = false installfiles = {"*.afm", "*.cls", "*.enc", "*.fd", "*.map", "*.otf", "*.pfb", "*.sty", "*.tfm", "*.ttf", "*.vf"} -- typesetfiles = {"test-test.tex"}