From 9fc6e770736e0b7c1c00bf2be3d8195576959e3a Mon Sep 17 00:00:00 2001 From: Muzahid Date: Fri, 25 Feb 2022 12:20:14 +0530 Subject: [PATCH] change downloading address --- multibuild.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multibuild.py b/multibuild.py index 07b66e3..acb8d69 100644 --- a/multibuild.py +++ b/multibuild.py @@ -10,7 +10,7 @@ Requires docker # TODO: write hook job, maybe also a dockerfile? # TODO: what to do about non-docker jobs -from os import listdir, walk +from os import listdir, walk, getenv from os.path import exists, isfile, join import requests import re @@ -41,7 +41,7 @@ def add_parent_step(build_factory): build_factory.addStep(steps.ShellCommand( name="download worker", - command=["sudo", "wget", "-O", "https://git.bitmessage.org/Bitmessage/buildbot_multibuild/raw/branch/master/lib/worker_multibuild.py", ".local/bin/worker_multibuild.py"] + command=["sudo", "wget", "-O", "https://git.bitmessage.org/Bitmessage/buildbot_multibuild/raw/branch/master/lib/worker_multibuild.py", join(getenv['HOME'], '.local/bin/worker_multibuild.py')] )) # build_factory.addStep( @@ -70,7 +70,7 @@ def add_parent_step(build_factory): def add_child_sh_steps(build_factory, directory=".buildbot"): """ - Add a step to the download, build and test factory + Add a step to the download, build and test factory """ build_factory.addStep(