phase1: avoid creating nested dl/ symlinks
[buildbot.git] / phase1 / master.cfg
index 1e8e54e0ac4a5041ff9de1083c4c462e5a757db5..91cc1a7409cf79c1fc1e270fbb633bd39b901de6 100644 (file)
@@ -355,7 +355,7 @@ EOT''' %(ts[0], ts[0], ts[1]) ))
        factory.addStep(ShellCommand(
                name = "dldir",
                description = "Preparing dl/",
-               command = "mkdir -p $HOME/dl && ln -sf $HOME/dl ./dl",
+               command = "mkdir -p $HOME/dl && rm -rf ./dl && ln -sf $HOME/dl ./dl",
                logEnviron = False,
                want_stdout = False
        ))