From 5ac39cda9c32b4be2edf9147002212d6f8d6abad Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 14 Nov 2016 15:00:24 +0100 Subject: [PATCH] phase1: avoid creating nested dl/ symlinks Signed-off-by: Jo-Philipp Wich --- 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 )) -- 2.30.2