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 f463940..09c6ca9 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1808,7 +1808,7 @@ local function print_addon_info(type, addons, filters)
organization = addon.organization,
repository = addon.repository and addon.repository:url(),
path = addon:get_path(system_bottle),
- repo_path = addon.repo_path,
+ repo_path = addon.repo_path or addon.repository.local_path,
url = url
}
if addon_matches_filter(hash, filters or {}) then