summaryrefslogtreecommitdiff
path: root/lualibs-basic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualibs-basic.lua')
-rw-r--r--lualibs-basic.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lualibs-basic.lua b/lualibs-basic.lua
index 4a17bdc..883ae5f 100644
--- a/lualibs-basic.lua
+++ b/lualibs-basic.lua
@@ -21,15 +21,15 @@ end
local loadmodule = lualibs.loadmodule
local stringformat = string.format
-local res
+local loaded = false
if lualibs.prefer_merged then
- res = loadmodule('lualibs-basic-merged.lua')
+ loaded = loadmodule('lualibs-basic-merged.lua')
else
info"Ignoring merged packages."
+ info"Falling back to individual libraries from collection “basic”."
end
-if not res then
- info(stringformat("Falling back to “%s”.", basename))
+if loaded == false then
loadmodule("lualibs-lua.lua")
loadmodule("lualibs-lpeg.lua")
loadmodule("lualibs-function.lua")