summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-01 15:55:42 +0100
committerJonathan Bauer2013-03-01 15:55:42 +0100
commit419efbc0ead6ca8088d521e5990d66d5ce2e86b9 (patch)
treed5628059fd055c82a8c8d7c82d341936531af36c /remote
parenttarcopy: check for destination directory else create it (diff)
downloadtm-scripts-419efbc0ead6ca8088d521e5990d66d5ce2e86b9.tar.gz
tm-scripts-419efbc0ead6ca8088d521e5990d66d5ce2e86b9.tar.xz
tm-scripts-419efbc0ead6ca8088d521e5990d66d5ce2e86b9.zip
tools cleanup: clean everything but leave the stage3.2 there, for bind mount purposes
Diffstat (limited to 'remote')
-rwxr-xr-xremote/setup_tools2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/setup_tools b/remote/setup_tools
index 2af8abe5..6dd35a8c 100755
--- a/remote/setup_tools
+++ b/remote/setup_tools
@@ -232,7 +232,7 @@ clean_tools() {
if [ "x$1" = "x" -o "x$1" = "xall" ]; then
#clean all
if [ -d ${INIT_DIR} ]; then
- rm -rf "${INIT_DIR}" || perror "Error deleting $INIT_DIR"
+ rm -rf "${INIT_DIR}"/* || perror "Error deleting $INIT_DIR"
fi
for TOOL in $(ls ${TOOL_DIR}); do
clean_tool $TOOL