diff options
Diffstat (limited to 'tests/plugins/pack/xmake.lua')
| -rw-r--r-- | tests/plugins/pack/xmake.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/plugins/pack/xmake.lua b/tests/plugins/pack/xmake.lua index 2828524f2..d10af4d54 100644 --- a/tests/plugins/pack/xmake.lua +++ b/tests/plugins/pack/xmake.lua @@ -28,13 +28,14 @@ xpack("test") set_iconfile("src/assets/xmake.ico") after_installcmd(function (package, batchcmds) - batchcmds:cp("src/assets/*.txt", "resources/", {rootdir = "src"}) - batchcmds:mkdir("stub") + batchcmds:mkdir(package:installdir("resources")) + batchcmds:cp("src/assets/*.txt", package:installdir("resources"), {rootdir = "src"}) + batchcmds:mkdir(package:installdir("stub")) end) after_uninstallcmd(function (package, batchcmds) - batchcmds:rmdir("resources") - batchcmds:rmdir("stub") + batchcmds:rmdir(package:installdir("resources")) + batchcmds:rmdir(package:installdir("stub")) end) add_nsis_installcmds("Enable Long Path", [[ |
