summaryrefslogtreecommitdiff
path: root/xmake/modules/cli/bisect.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-13 22:46:12 +0800
committerruki <[email protected]>2024-08-13 22:46:12 +0800
commit7b00e3f8fe78cf32b2ecef81bd18c14d5f84e790 (patch)
tree9644f27675a5be1a32a5df82b4556dea9699c727 /xmake/modules/cli/bisect.lua
parent72da9018e251c0aea4b5d9ab04fc25e3148dcd93 (diff)
fix commands
Diffstat (limited to 'xmake/modules/cli/bisect.lua')
-rw-r--r--xmake/modules/cli/bisect.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/cli/bisect.lua b/xmake/modules/cli/bisect.lua
index 2ce090960..5e69a8915 100644
--- a/xmake/modules/cli/bisect.lua
+++ b/xmake/modules/cli/bisect.lua
@@ -50,7 +50,7 @@ function _run_command(opt)
local arbitrary = opt.arbitrary
if commands then
for _, command in ipairs(commands:split(";")) do
- os.exec(command)
+ os.exec(command:trim())
end
elseif arbitrary then
local program = arbitrary[1]