diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2014-07-16 20:09:01 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-07-16 20:09:01 +0200 |
commit | a9a61c97b8e07294a2f362d1ac39a9ece15dc999 (patch) | |
tree | 5e9f4d685412fc87278819d4f11ef1ed22feef37 /scripts | |
parent | 2e932fd1f0ea473255313c65425d3a6d4521298a (diff) | |
parent | 95c6d7f9eefcac7a3fd042917df15166935d690d (diff) | |
download | luaotfload-a9a61c97b8e07294a2f362d1ac39a9ece15dc999.tar.gz |
Merge pull request #235 from phi-gamma/master
fixes
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkstatus | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/mkstatus b/scripts/mkstatus index 15cb97c..802b2cd 100755 --- a/scripts/mkstatus +++ b/scripts/mkstatus @@ -128,7 +128,7 @@ hash_all = function (list, acc) local finfo = list[#list] list[#list] = nil if finfo then - local fpath + local fpath, fname if type (finfo) == "table" then local d, f = finfo [1], finfo [2] if lfs.isdir (d) then @@ -136,6 +136,7 @@ hash_all = function (list, acc) else fpath = f end + fname = f else fpath = finfo end @@ -149,7 +150,7 @@ hash_all = function (list, acc) iowrite (sum) iowrite "\"\n" end - acc[#acc+1] = { fpath, sum } + acc[#acc+1] = { fname, sum } return hash_all (list, acc) end return acc |