summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/xpack_component.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-02-15 23:33:02 +0800
committerruki <[email protected]>2024-02-15 23:33:02 +0800
commit197ec373651d6672f7a11e9a07a01fb7dacdb8fa (patch)
tree4422f4c5e4de04f4b330a3f71fdab43fee7c1c3f /xmake/plugins/pack/xpack_component.lua
parente860f98a8bbc60d296b03a95c374609be86713d8 (diff)
fix xpack component
Diffstat (limited to 'xmake/plugins/pack/xpack_component.lua')
-rw-r--r--xmake/plugins/pack/xpack_component.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/xpack_component.lua b/xmake/plugins/pack/xpack_component.lua
index 14e19efd5..fcc154687 100644
--- a/xmake/plugins/pack/xpack_component.lua
+++ b/xmake/plugins/pack/xpack_component.lua
@@ -74,7 +74,7 @@ end
-- get xxx_script
function xpack_component:script(name, generic)
local script = self:get(name)
- local result = select_script(script, {plat = self:plat(), arch = self:arch()}) or generic
+ local result = select_script(script, {plat = self:package():plat(), arch = self:package():arch()}) or generic
return result
end