summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-07-10 18:14:46 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-07-10 18:14:46 +0200
commit190129ad12d2a5567c9af7932f8632da9be40d2e (patch)
tree85ee2b83aa811a15b8e8e377525f97058ab1b3a1
parent12bc6faf98fa9e8fc4ecc1db2cde14ff620b0429 (diff)
downloadluaotfload-190129ad12d2a5567c9af7932f8632da9be40d2e.tar.gz
consider that scripts are in the scripts/ tree when locating files
-rwxr-xr-xluaotfload-tool.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index 96cc9aa..4afd9d1 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -975,6 +975,7 @@ do
for i = 1, nhashes do
local fname, canonicalsum = unpack (hashes[i])
local location = kpsefind_file (fname)
+ or kpsefind_file (fname, "texmfscripts")
if not location then
errcnt = errcnt + 1
out ("FAILED: file %s missing.", fname)