diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/core/cfg.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua index acda1e46..fd74ff98 100644 --- a/src/luarocks/core/cfg.lua +++ b/src/luarocks/core/cfg.lua | |||
@@ -816,7 +816,12 @@ function cfg.init(detected, warning) | |||
816 | end | 816 | end |
817 | 817 | ||
818 | function cfg.print_platforms() | 818 | function cfg.print_platforms() |
819 | return table.concat(platforms, ", ") | 819 | local platform_keys = {} |
820 | for k,_ in pairs(platforms) do | ||
821 | table.insert(platform_keys, k) | ||
822 | end | ||
823 | table.sort(platform_keys) | ||
824 | return table.concat(platform_keys, ", ") | ||
820 | end | 825 | end |
821 | 826 | ||
822 | return true | 827 | return true |