From a5ab6fa4f8bb4a35473db6aca3640c0b5031b235 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 15 Mar 2020 18:22:56 +0100 Subject: [PATCH] fetch-upstream-resources: fix .svn cleanup step Signed-off-by: Sebastiaan van Stijn --- _scripts/fetch-upstream-resources.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_scripts/fetch-upstream-resources.sh b/_scripts/fetch-upstream-resources.sh index 924f1cbec2..66a804571e 100755 --- a/_scripts/fetch-upstream-resources.sh +++ b/_scripts/fetch-upstream-resources.sh @@ -24,7 +24,7 @@ svn co "https://github.com/docker/distribution/${distribution_svn_branch}/docs/s svn co "https://github.com/mirantis/compliance/trunk/docs/compliance" ./compliance || (echo "Failed docker/compliance download" && exit 1) # Cleanup svn directories -find . -name .svn -exec rm -rf '{}' \; +find . -name ".svn" -print0 | xargs -0 /bin/rm -rf # Get the Engine APIs that are in Swagger # Add a new engine/api/.md file to add a new API version page.