diff options
author | Hisham <hisham@gobolinux.org> | 2016-07-28 16:37:20 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-07-28 16:37:20 -0300 |
commit | 67a737310b31eed8d1c38eb0e34ff4b6fc411731 (patch) | |
tree | e3c33f3101cce7afeeb479e993d8faca3a317dca /src | |
parent | bbefca871ab5d872c457fe4bc0a2a5279a8179c4 (diff) | |
download | luarocks-67a737310b31eed8d1c38eb0e34ff4b6fc411731.tar.gz luarocks-67a737310b31eed8d1c38eb0e34ff4b6fc411731.tar.bz2 luarocks-67a737310b31eed8d1c38eb0e34ff4b6fc411731.zip |
Closes #595. Fixes placement of rockspec when unpacking a git:// rock.
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/unpack.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/luarocks/unpack.lua b/src/luarocks/unpack.lua index 2face005..c3dc9a4c 100644 --- a/src/luarocks/unpack.lua +++ b/src/luarocks/unpack.lua | |||
@@ -46,7 +46,6 @@ local function unpack_rockspec(rockspec_file, dir_name) | |||
46 | if not ok then return nil, err end | 46 | if not ok then return nil, err end |
47 | ok, err = build.apply_patches(rockspec) | 47 | ok, err = build.apply_patches(rockspec) |
48 | fs.pop_dir() | 48 | fs.pop_dir() |
49 | fs.pop_dir() | ||
50 | if not ok then return nil, err end | 49 | if not ok then return nil, err end |
51 | return rockspec | 50 | return rockspec |
52 | end | 51 | end |