aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2012-09-24 18:26:47 -0300
committerHisham Muhammad <hisham@gobolinux.org>2012-09-24 18:26:47 -0300
commitec1ccfc94011529deee5a03f227154d222287735 (patch)
treec58442be155ffc1fd7028d75e92496cfbc4d7643 /src
parent544a0963689fe14fc3cdb0fb6fa1dcb8b2f63bda (diff)
downloadluarocks-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.lua2
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