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