build: fix mpiexec check in the ns3 script

This commit is contained in:
Gabriel Ferreira
2022-10-23 20:48:11 -03:00
parent 2c1bb6f032
commit 973463da5e

3
ns3
View File

@@ -1106,7 +1106,8 @@ def run_step(args, target_to_run, target_args):
# running with command template?
if args.command_template:
commands = (args.command_template % target_to_run).split()
target_to_run = check_program_installed(commands[0])
check_program_installed(commands[0])
target_to_run = commands[0]
target_args = commands[1:] + target_args
# running mpi on the CI?