diff options
-rw-r--r-- | rockspec | 2 | ||||
-rw-r--r-- | src/luarocks/unpack.lua | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | package = "LuaRocks" | 1 | package = "LuaRocks" |
2 | local VER = "scm" | 2 | local VER = "2.0.9" |
3 | local REV = "1" | 3 | local REV = "1" |
4 | version = VER.."-"..REV | 4 | version = VER.."-"..REV |
5 | 5 | ||
diff --git a/src/luarocks/unpack.lua b/src/luarocks/unpack.lua index 6ea7353d..4920d381 100644 --- a/src/luarocks/unpack.lua +++ b/src/luarocks/unpack.lua | |||
@@ -27,9 +27,9 @@ local function unpack_rockspec(rockspec_file, dir_name) | |||
27 | assert(type(rockspec_file) == "string") | 27 | assert(type(rockspec_file) == "string") |
28 | assert(type(dir_name) == "string") | 28 | assert(type(dir_name) == "string") |
29 | 29 | ||
30 | local rockspec = fetch.load_rockspec(rockspec_file) | 30 | local rockspec, err = fetch.load_rockspec(rockspec_file) |
31 | if not rockspec then | 31 | if not rockspec then |
32 | return nil, "Failed loading rockspec "..rockspec_file | 32 | return nil, "Failed loading rockspec "..rockspec_file..": "..err |
33 | end | 33 | end |
34 | fs.change_dir(dir_name) | 34 | fs.change_dir(dir_name) |
35 | local ok, sources_dir = fetch.fetch_sources(rockspec, true, ".") | 35 | local ok, sources_dir = fetch.fetch_sources(rockspec, true, ".") |