phase1: move shared dl to same folder as shared-workdir
authorThibaut VARÈNE <hacks@slashdirt.org>
Tue, 25 Oct 2022 18:41:21 +0000 (20:41 +0200)
committerPetr Štetiar <ynezz@true.cz>
Mon, 15 May 2023 15:36:01 +0000 (17:36 +0200)
The previous command moved it to $HOME/dl, which could pollute the user's
home folder during test runs. This brings the "shared dl" folder in line
with the shared workdir folder, all within buildbot folder hierarchy.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase1/master.cfg

index 424fc9ff1e490a21cce72c9e402799adacfed3b7..86d858deb28c25f26e4ba1cfcf4b77b9a030557f 100644 (file)
@@ -774,7 +774,8 @@ for target in targets:
                name = "dldir",
                description = "Preparing dl/",
                descriptionDone = "dl/ prepared",
-               command = "mkdir -p $HOME/dl && rm -rf ./dl && ln -sf $HOME/dl ./dl",
+               command = 'mkdir -p ../dl && rm -rf "build/dl" && ln -s ../../dl "build/dl"',
+               workdir = Property("builddir"),
                logEnviron = False,
                want_stdout = False
        ))