[vlc-commits] contrib: don't use GNU find to delete all directories from cwd

Rafaël Carré git at videolan.org
Mon Nov 21 03:35:14 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov 20 21:21:29 2011 -0500| [d81b91680bce28e5b1adc04bfb7373460c03bc42] | committer: Rafaël Carré

contrib: don't use GNU find to delete all directories from cwd

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d81b91680bce28e5b1adc04bfb7373460c03bc42
---

 contrib/src/main.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 2bed35d..b1d15e2 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -239,7 +239,7 @@ mostlyclean:
 	-$(RM) $(foreach p,$(PKGS_ALL),.$(p) .sum-$(p) .dep-$(p))
 	-$(RM) toolchain.cmake
 	-$(RM) -R "$(PREFIX)"
-	-find -maxdepth 1 -type d '!' -name . -exec $(RM) -R '{}' ';'
+	-$(RM) -R */
 
 clean: mostlyclean
 	-$(RM) $(TARBALLS)/*.*



More information about the vlc-commits mailing list