From d4e9cf05335c9d819e05477204223068de930df6 Mon Sep 17 00:00:00 2001 From: pmikus Date: Tue, 14 Mar 2017 09:35:00 +0100 Subject: Fix: Perf-bootstrap delete install_dir if exists Change-Id: Ib34c6144c0c97265a490bc6703b62cee670759c7 Signed-off-by: pmikus --- resources/tools/topo_installation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/tools/topo_installation.py b/resources/tools/topo_installation.py index 3a983962ad..0488bdae69 100755 --- a/resources/tools/topo_installation.py +++ b/resources/tools/topo_installation.py @@ -119,7 +119,7 @@ def main(): print "###TI {}".format(stdout) else: # Create installation directory on DUT - cmd = "mkdir {}".format(install_dir) + cmd = "rm -r {0}; mkdir {0}".format(install_dir) stdout = ssh_no_error(ssh, cmd) print "###TI {}".format(stdout) -- cgit 1.2.3-korg