diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-04-15 22:30:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-04-15 22:30:00 +0200 |
commit | 18bb8026f624a646df0951b69f7d2dd718ca199c (patch) | |
tree | 9c178d1300f677cfcf2180c1243139865ee94cdd /scripts | |
parent | f11c2a66e5019854fc200b6b6186490ee07e773d (diff) | |
download | context-18bb8026f624a646df0951b69f7d2dd718ca199c.tar.gz |
beta 2013.04.15 22:30
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtx-modules.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-modules.lua b/scripts/context/lua/mtx-modules.lua index ef38a7156..f4003c1db 100644 --- a/scripts/context/lua/mtx-modules.lua +++ b/scripts/context/lua/mtx-modules.lua @@ -69,7 +69,7 @@ local find, format, sub, is_empty, strip, gsub = string.find, string.format, str local function source_to_ted(inpname,outname,filetype) local data = io.loaddata(inpname) - if data == "" then + if not data or data == "" then report("invalid module name '%s'",inpname) return end |