summaryrefslogtreecommitdiff
path: root/scripts/mkimport
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-11-24 00:50:32 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2015-11-24 00:50:32 +0100
commitf3737e68ca8b39ecf0368ac9781fb6b32c57c560 (patch)
treed642f9b4804333350735df0376b22627b11c822c /scripts/mkimport
parenta5693d7b6f8109c09b231c2ac92c08aef7bd442d (diff)
downloadluaotfload-f3737e68ca8b39ecf0368ac9781fb6b32c57c560.tar.gz
[mkimport] allow output in pwd
Diffstat (limited to 'scripts/mkimport')
-rwxr-xr-xscripts/mkimport2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkimport b/scripts/mkimport
index 0be0847..abe1608 100755
--- a/scripts/mkimport
+++ b/scripts/mkimport
@@ -684,7 +684,7 @@ local build_paths = function (argv)
--- also set the target name
local fname = argv[3]
local dir = filedirname (fname)
- if not lfsisdir (dir) then
+ if not string.is_empty (dir) and not lfsisdir (dir) then
die ("third argument must be point into writable directory, not ā€œ%sā€",
argv[3])
end