diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2010-09-16 12:26:43 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2010-09-16 12:26:43 -0300 |
commit | a5df6cd68bf047ddfc6b64743c5366e9b3945042 (patch) | |
tree | 8230b010c940d897619f4e1d4c0606e5e3ee875d /src | |
parent | 4db416edf3f9cea762588fe88c5796cdb75b3048 (diff) | |
download | luarocks-a5df6cd68bf047ddfc6b64743c5366e9b3945042.tar.gz luarocks-a5df6cd68bf047ddfc6b64743c5366e9b3945042.tar.bz2 luarocks-a5df6cd68bf047ddfc6b64743c5366e9b3945042.zip |
Support remote rockspec filenames in 'pack'.
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/pack.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/pack.lua b/src/luarocks/pack.lua index 46c00e41..5786dc13 100644 --- a/src/luarocks/pack.lua +++ b/src/luarocks/pack.lua | |||
@@ -32,8 +32,8 @@ argument. | |||
32 | local function pack_source_rock(rockspec_file) | 32 | local function pack_source_rock(rockspec_file) |
33 | assert(type(rockspec_file) == "string") | 33 | assert(type(rockspec_file) == "string") |
34 | 34 | ||
35 | rockspec_file = fs.absolute_name(rockspec_file) | ||
36 | local rockspec, err = fetch.load_rockspec(rockspec_file) | 35 | local rockspec, err = fetch.load_rockspec(rockspec_file) |
36 | rockspec_file = rockspec.local_filename | ||
37 | if err then | 37 | if err then |
38 | return nil, "Error loading rockspec: "..err | 38 | return nil, "Error loading rockspec: "..err |
39 | end | 39 | end |