diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/util.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/luarocks/util.lua b/src/luarocks/util.lua index 99e9cc74..dae9307a 100644 --- a/src/luarocks/util.lua +++ b/src/luarocks/util.lua | |||
@@ -636,7 +636,10 @@ do | |||
636 | end | 636 | end |
637 | end | 637 | end |
638 | end | 638 | end |
639 | return nil, "Lua interpreter not found at " .. prefix .. "\n" .. | 639 | local interp = luaver |
640 | and ("Lua " .. luaver .. " interpreter") | ||
641 | or "Lua interpreter" | ||
642 | return nil, interp .. " not found at " .. prefix .. "\n" .. | ||
640 | "Tried:\t" .. table.concat(tried, "\n\t") | 643 | "Tried:\t" .. table.concat(tried, "\n\t") |
641 | end | 644 | end |
642 | end | 645 | end |