From 8abb2e9ccf533ca98bb8855053c626a93c790c5a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 14 Nov 2016 15:01:20 +0100 Subject: [PATCH] phase2: avoid creating nested dl/ symlinks Signed-off-by: Jo-Philipp Wich --- 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", -- 2.30.2