From 716be435f2853c59ebf134e5beac647f278985c7 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 18 Sep 2012 20:54:35 -0300 Subject: package is probably more accurate --- src/luarocks/new_version.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/luarocks/new_version.lua b/src/luarocks/new_version.lua index b453704f..4eebf26a 100644 --- a/src/luarocks/new_version.lua +++ b/src/luarocks/new_version.lua @@ -12,7 +12,7 @@ local dir = require("luarocks.dir") local fs = require("luarocks.fs") help_summary = "Auto-write a rockspec for a new version of a rock." -help_arguments = "{|} [] []" +help_arguments = "{|} [] []" help = [[ This is a utility function that writes a new rockspec, updating data from a previous one. @@ -76,7 +76,7 @@ function run(...) if not input:match(".rockspec$") then local err filename, err = download.download("rockspec", input) - if not input then + if not filename then return nil, err end end -- cgit v1.2.3-55-g6feb