From: Jo-Philipp Wich Date: Mon, 14 Nov 2016 14:01:20 +0000 (+0100) Subject: phase2: avoid creating nested dl/ symlinks X-Git-Tag: v1~227 X-Git-Url: http://git.openwrt.org/?p=buildbot.git;a=commitdiff_plain;h=8abb2e9ccf533ca98bb8855053c626a93c790c5a phase2: avoid creating nested dl/ symlinks Signed-off-by: Jo-Philipp Wich --- 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",