aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2017-06-11 00:22:28 +0200
committerMartin Stockhammer <martin_s@apache.org>2017-06-11 00:22:28 +0200
commitf62d5f78cb99103f60bec87b49e7a74c09b7c75a (patch)
treebccb1d7365590c8622e662a4a058e11c042e3266 /src
parent6a789cd7aee2d24c02a925853b058530a98e5ad1 (diff)
downloadarchiva-f62d5f78cb99103f60bec87b49e7a74c09b7c75a.tar.gz
archiva-f62d5f78cb99103f60bec87b49e7a74c09b7c75a.zip
Improve workspace cleanup
Diffstat (limited to 'src')
-rw-r--r--src/ci/scripts/prepareWorkspace.sh2
1 files changed, 1 insertions, 1 deletions
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