summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-28 22:42:04 +0800
committerruki <[email protected]>2019-01-28 10:12:26 +0800
commit93c79d79a4ba9febfd231a28632f7a6b8b46e84b (patch)
tree5965546a0910b95e8b2d042b81521b37a59628ff /xmake/core/package/package.lua
parentef61b0b1808551f90ab7b6d09d91c97bcfeb24d0 (diff)
fix load system package
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 30aa9f698..f9b935cd6 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -820,7 +820,7 @@ function package.load_from_system(packagename)
end
-- make sandbox instance with the given script
- local instance, errors = sandbox.new(on_install, interp:filter(), interp:rootdir())
+ local instance, errors = sandbox.new(on_install, interp:filter())
if not instance then
return nil, errors
end