diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-20 10:54:23 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-05-31 11:16:09 -0300 |
commit | 96add5a1c6f34e0f701d358ce33a4cfd087fc742 (patch) | |
tree | 4ce94b4e25823fe6278baaf48efe37b16a5eaec9 | |
parent | e512a6c0403ef4e6ac8b272bb2f1246b0ec57590 (diff) | |
download | luarocks-96add5a1c6f34e0f701d358ce33a4cfd087fc742.tar.gz luarocks-96add5a1c6f34e0f701d358ce33a4cfd087fc742.tar.bz2 luarocks-96add5a1c6f34e0f701d358ce33a4cfd087fc742.zip |
search: shorten repo paths displayed
-rw-r--r-- | src/luarocks/search.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/search.lua b/src/luarocks/search.lua index 9b4ec88b..90626f3c 100644 --- a/src/luarocks/search.lua +++ b/src/luarocks/search.lua | |||
@@ -295,7 +295,7 @@ function search.print_result_tree(result_tree, porcelain) | |||
295 | namespaces[key] = list | 295 | namespaces[key] = list |
296 | 296 | ||
297 | repo.repo = dir.normalize(repo.repo) | 297 | repo.repo = dir.normalize(repo.repo) |
298 | table.insert(list, " "..version.." ("..repo.arch..") - "..repo.repo) | 298 | table.insert(list, " "..version.." ("..repo.arch..") - "..path.root_dir(repo.repo)) |
299 | end | 299 | end |
300 | end | 300 | end |
301 | for key, list in util.sortedpairs(namespaces) do | 301 | for key, list in util.sortedpairs(namespaces) do |