diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2012-09-24 18:26:47 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2012-09-24 18:26:47 -0300 |
commit | ec1ccfc94011529deee5a03f227154d222287735 (patch) | |
tree | c58442be155ffc1fd7028d75e92496cfbc4d7643 /src | |
parent | 544a0963689fe14fc3cdb0fb6fa1dcb8b2f63bda (diff) | |
download | luarocks-ec1ccfc94011529deee5a03f227154d222287735.tar.gz luarocks-ec1ccfc94011529deee5a03f227154d222287735.tar.bz2 luarocks-ec1ccfc94011529deee5a03f227154d222287735.zip |
Fix for when version is not explicitly given.
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/show.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/show.lua b/src/luarocks/show.lua index 68c1a738..dd84e794 100644 --- a/src/luarocks/show.lua +++ b/src/luarocks/show.lua | |||
@@ -86,7 +86,7 @@ function run(...) | |||
86 | end | 86 | end |
87 | 87 | ||
88 | if not next(results) then -- | 88 | if not next(results) then -- |
89 | return nil,"cannot find package "..name.." "..version.."\nUse 'list' to find installed rocks." | 89 | return nil,"cannot find package "..name.." "..(version or "").."\nUse 'list' to find installed rocks." |
90 | end | 90 | end |
91 | 91 | ||
92 | version = nil | 92 | version = nil |