From a337147f437f3bf724aca3616b85b02a041235cf Mon Sep 17 00:00:00 2001 From: Muzahid Date: Fri, 11 Feb 2022 12:36:42 +0530 Subject: [PATCH] fixed join issue --- multibuild.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/multibuild.py b/multibuild.py index dca87d9..7442686 100644 --- a/multibuild.py +++ b/multibuild.py @@ -171,8 +171,8 @@ def add_child_build_sh_step(build_factory, directory=".buildbot"): """ build_factory.addStep( steps.ShellCommand( - name="build_" + util.Interpolate("%(prop:jobname)s"), - command=["bash", "-c", join(directory, util.Interpolate("%(prop:jobname)s"), "build.sh")], + name=util.Interpolate("build_%(prop:jobname)s"), + command=util.Interpolate("%(kw:directory)s/%(prop:jobname)s/test.sh", directory=directory), doStepIf=is_build_script_available, hideStepIf=isnt_build_script_available, ) @@ -185,8 +185,8 @@ def add_child_test_sh_step(build_factory, directory=".buildbot"): """ build_factory.addStep( steps.ShellCommand( - name="test_" + util.Interpolate("%(prop:jobname)s"), - command=["bash", "-c", join(directory, util.Interpolate("%(prop:jobname)s"), "test.sh")], + name= util.Interpolate("test_%(prop:jobname)s"), + command=util.Interpolate("%(kw:directory)s/%(prop:jobname)s/test.sh", directory=directory), doStepIf=is_test_script_available, hideStepIf=isnt_test_script_available, )