summaryrefslogtreecommitdiff
path: root/src/luaotfload-configuration.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luaotfload-configuration.lua')
-rw-r--r--src/luaotfload-configuration.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luaotfload-configuration.lua b/src/luaotfload-configuration.lua
index 0ce9467..efed573 100644
--- a/src/luaotfload-configuration.lua
+++ b/src/luaotfload-configuration.lua
@@ -148,12 +148,12 @@ local pick_fontloader = function (s)
logreport ("log", 2, "conf", "Context base path specified at \"%s\".", pth)
if lfsisdir (pth) then
logreport ("log", 5, "conf", "Context base path exists at \"%s\".", pth)
- return { "context", pth }
+ return pth
end
pth = kpseexpand_path (pth)
if lfsisdir (pth) then
logreport ("log", 5, "conf", "Context base path exists at \"%s\".", pth)
- return { "context", pth }
+ return pth
end
logreport ("both", 0, "conf", "Context base path not found at \"%s\".", pth)
end