diff options
| author | Jonathan Bauer | 2013-03-01 15:55:42 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-01 15:55:42 +0100 |
| commit | 419efbc0ead6ca8088d521e5990d66d5ce2e86b9 (patch) | |
| tree | d5628059fd055c82a8c8d7c82d341936531af36c /remote | |
| parent | tarcopy: check for destination directory else create it (diff) | |
| download | tm-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-x | remote/setup_tools | 2 |
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 |
