aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index d27f9ed..9fab82b 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1625,7 +1625,7 @@ function Bottle:all_addons()
repo_path = (hash[id] and hash[id][1].local_path or nil),
dependencies = (hash[id] and hash[id][1].dependencies or nil)
}))
- if not hash[id] then hash[id] = t[#t] end
+ if not hash[id] then hash[id] = { t[#t] } end
end
end
end