From f62d5f78cb99103f60bec87b49e7a74c09b7c75a Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Sun, 11 Jun 2017 00:22:28 +0200 Subject: [PATCH] Improve workspace cleanup --- src/ci/scripts/prepareWorkspace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci/scripts/prepareWorkspace.sh b/src/ci/scripts/prepareWorkspace.sh index 45f857c1b..c9d1d8d69 100644 --- a/src/ci/scripts/prepareWorkspace.sh +++ b/src/ci/scripts/prepareWorkspace.sh @@ -33,5 +33,5 @@ for i in ${ATTIC_DIRS}; do done for i in ${REMOVE_DIRS}; do - find . -type d -name "${i}" -exec rm -rf {} \; + find . -type d -name "${i}" -print0 | xargs -0 rm -rvf done -- 2.39.5