summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-11-24 00:42:35 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2015-11-24 00:42:35 +0100
commita5693d7b6f8109c09b231c2ac92c08aef7bd442d (patch)
treee017a5e058a051831b92e73247cbd44bab8ebd22
parent4bdf24de7d3b5178caa5a38d306c4bee1fe53668 (diff)
downloadluaotfload-a5693d7b6f8109c09b231c2ac92c08aef7bd442d.tar.gz
[mkimport] remove code obstructing user-specified import path
-rwxr-xr-xscripts/mkimport9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/mkimport b/scripts/mkimport
index 9ea224a..0be0847 100755
--- a/scripts/mkimport
+++ b/scripts/mkimport
@@ -480,15 +480,6 @@ local import_file = function (name, kind, def, cat)
end --[[ [local import_file = function (name, kind)] ]]
local import = function (arg)
- if #arg > 1 then
- local tgt = parms.target
- local name = tgt or die ("invalid filename " .. tostring (tgt))
- local stat = import_file (name)
- if stat == import_failed then
- die ("failed to import file " .. name)
- end
- status ("import status for file %s: %s", name, import_status[stat])
- end
--- Multiple files
local statcount = { } -- import status codes -> size_t
for cat, defs in next, imports do