[buildbot] phase2: avoid creating nested dl/ symlinks

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


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

commit 8abb2e9ccf533ca98bb8855053c626a93c790c5a
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Mon Nov 14 15:01:20 2016 +0100

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

diff --git a/phase2/master.cfg b/phase2/master.cfg
index 98a9243..d598521 100644
--- a/phase2/master.cfg
+++ b/phase2/master.cfg
@@ -221,7 +221,7 @@ for arch in arches:
 	factory.addStep(ShellCommand(
 		name = "mkdldir",
 		description = "Preparing download directory",
-		command = ["sh", "-c", "mkdir -p $HOME/dl && rmdir ./sdk/dl && ln -sf $HOME/dl ./sdk/dl"]))
+		command = ["sh", "-c", "mkdir -p $HOME/dl && rm -rf ./sdk/dl && ln -sf $HOME/dl ./sdk/dl"]))
 
 	factory.addStep(ShellCommand(
 		name = "mkconf",



More information about the lede-commits mailing list