You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2017/06/10 22:23:02 UTC
archiva git commit: Improve workspace cleanup
Repository: archiva
Updated Branches:
refs/heads/master 6a789cd7a -> f62d5f78c
Improve workspace cleanup
Project: http://git-wip-us.apache.org/repos/asf/archiva/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva/commit/f62d5f78
Tree: http://git-wip-us.apache.org/repos/asf/archiva/tree/f62d5f78
Diff: http://git-wip-us.apache.org/repos/asf/archiva/diff/f62d5f78
Branch: refs/heads/master
Commit: f62d5f78cb99103f60bec87b49e7a74c09b7c75a
Parents: 6a789cd
Author: Martin Stockhammer <ma...@apache.org>
Authored: Sun Jun 11 00:22:28 2017 +0200
Committer: Martin Stockhammer <ma...@apache.org>
Committed: Sun Jun 11 00:22:28 2017 +0200
----------------------------------------------------------------------
src/ci/scripts/prepareWorkspace.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/archiva/blob/f62d5f78/src/ci/scripts/prepareWorkspace.sh
----------------------------------------------------------------------
diff --git a/src/ci/scripts/prepareWorkspace.sh b/src/ci/scripts/prepareWorkspace.sh
index 45f857c..c9d1d8d 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