diff options
Diffstat (limited to 'xmake/core/base/deprecated/interpreter.lua')
| -rw-r--r-- | xmake/core/base/deprecated/interpreter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/deprecated/interpreter.lua b/xmake/core/base/deprecated/interpreter.lua index 22e0cde00..ec06d8866 100644 --- a/xmake/core/base/deprecated/interpreter.lua +++ b/xmake/core/base/deprecated/interpreter.lua @@ -122,7 +122,7 @@ function deprecated_interpreter:api_register_set_script(scope_kind, prefix, ...) utils.warning("please uses on_%s(), \"set_%s()\" has been deprecated!", name, name, scope) -- make sandbox instance with the given script - local instance, errors = sandbox.new(script, self) + local instance, errors = sandbox.new(script, self:filter(), self:rootdir()) if not instance then os.raise("set_%s(): %s", name, errors) end |
