summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/srpm/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-12-22 00:00:18 +0800
committerruki <[email protected]>2023-12-22 00:00:18 +0800
commit6417898f2e1076a642d85fc91478c84b9e67a39a (patch)
tree12d6f70502c4617d03bd2536f5446559da6ae207 /xmake/plugins/pack/srpm/main.lua
parent17733b58e60dbc2729de94c17aedf48d6495136c (diff)
pack xmake install to srpm
Diffstat (limited to 'xmake/plugins/pack/srpm/main.lua')
-rw-r--r--xmake/plugins/pack/srpm/main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/pack/srpm/main.lua b/xmake/plugins/pack/srpm/main.lua
index 2c9a0cb1b..1ffbdc6ed 100644
--- a/xmake/plugins/pack/srpm/main.lua
+++ b/xmake/plugins/pack/srpm/main.lua
@@ -99,6 +99,7 @@ function _get_customcmd(package, installcmds, cmd)
local dir = _translate_filepath(package, cmd.dir)
table.insert(installcmds, string.format("mkdir -p \"%s\"", dir))
elseif cmd.program then
+ -- TODO translate path
table.insert(installcmds, string.format("%s", os.args(table.join(cmd.program, cmd.argv))))
end
end