summaryrefslogtreecommitdiff
path: root/scripts/mkimport
diff options
context:
space:
mode:
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