summaryrefslogtreecommitdiff
path: root/tests/plugins/pack/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-12-18 23:34:22 +0800
committerruki <[email protected]>2023-12-18 23:34:22 +0800
commitcc7b17ab9e0d9fc523b88a2508fb79947d440fef (patch)
tree89502c797db8452ca78e92bd261cd76fb7a50b96 /tests/plugins/pack/xmake.lua
parent92a0f01114b8001e035b0b6a01c4e689ed6a41ee (diff)
translate path
Diffstat (limited to 'tests/plugins/pack/xmake.lua')
-rw-r--r--tests/plugins/pack/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/pack/xmake.lua b/tests/plugins/pack/xmake.lua
index b1a4c641b..abf67234c 100644
--- a/tests/plugins/pack/xmake.lua
+++ b/tests/plugins/pack/xmake.lua
@@ -41,7 +41,7 @@ xpack("test")
end)
after_installcmd(function (package, batchcmds)
- if package:from_source() then
+ if package:format() == "runself" then
batchcmds:runv("echo", {"hello"})
else
batchcmds:mkdir(package:installdir("resources"))