diff options
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 |
