[buildbot] phase1: avoid creating nested dl/ symlinks

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 14 06:00:34 PST 2016


jow pushed a commit to buildbot.git, branch master:
https://git.lede-project.org/5ac39cda9c32b4be2edf9147002212d6f8d6abad

commit 5ac39cda9c32b4be2edf9147002212d6f8d6abad
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Mon Nov 14 15:00:24 2016 +0100

    phase1: avoid creating nested dl/ symlinks
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 phase1/master.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phase1/master.cfg b/phase1/master.cfg
index 1e8e54e..91cc1a7 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -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
 	))



More information about the lede-commits mailing list