aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/topo_installation.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/topo_installation.py')
-rwxr-xr-xresources/tools/topo_installation.py2
1 files changed, 1 insertions, 1 deletions
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)