diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/pack.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/pack.lua b/src/luarocks/pack.lua index 0c71aa76..3955af3d 100644 --- a/src/luarocks/pack.lua +++ b/src/luarocks/pack.lua | |||
| @@ -102,12 +102,12 @@ function pack.pack_installed_rock(query, tree) | |||
| 102 | 102 | ||
| 103 | local is_binary = false | 103 | local is_binary = false |
| 104 | if rock_manifest.lib then | 104 | if rock_manifest.lib then |
| 105 | local ok, err = copy_back_files(name, version, rock_manifest.lib, path.deploy_lib_dir(root), dir.path(temp_dir, "lib"), "exec") | 105 | local ok, err = copy_back_files(name, version, rock_manifest.lib, path.deploy_lib_dir(repo), dir.path(temp_dir, "lib"), "exec") |
| 106 | if not ok then return nil, "Failed copying back files: " .. err end | 106 | if not ok then return nil, "Failed copying back files: " .. err end |
| 107 | is_binary = true | 107 | is_binary = true |
| 108 | end | 108 | end |
| 109 | if rock_manifest.lua then | 109 | if rock_manifest.lua then |
| 110 | local ok, err = copy_back_files(name, version, rock_manifest.lua, path.deploy_lua_dir(root), dir.path(temp_dir, "lua"), "read") | 110 | local ok, err = copy_back_files(name, version, rock_manifest.lua, path.deploy_lua_dir(repo), dir.path(temp_dir, "lua"), "read") |
| 111 | if not ok then return nil, "Failed copying back files: " .. err end | 111 | if not ok then return nil, "Failed copying back files: " .. err end |
| 112 | end | 112 | end |
| 113 | 113 | ||
