From e61008d6c0e7bac8a173f2e0696f9f5f191644eb Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 15 Jan 2009 18:49:06 +0000 Subject: [PATCH] (svn r15098) -Fix [FS#2535]: MinGW's find didn't remove the .svn directories during bundling as we told it to, so we're using a slightly different approach that seems to work --- Makefile.bundle.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.bundle.in b/Makefile.bundle.in index 433a633966..0800c84502 100644 --- a/Makefile.bundle.in +++ b/Makefile.bundle.in @@ -78,7 +78,7 @@ ifdef MENU_DIR endif ifeq ($(shell if test -n "`ls -l \"$(BIN_DIR)/ai/\"* 2>/dev/null`"; then echo 1; fi), 1) $(Q)cp -R "$(BIN_DIR)/ai/"* "$(BUNDLE_DIR)/ai/" - $(Q)find $(BUNDLE_DIR)/ai/ -depth -iname '*.svn' -exec rm -Rf {} \; || find $(BUNDLE_DIR)/ai/ -d -iname '*.svn' -exec rm -Rf {} \; + $(Q)find $(BUNDLE_DIR)/ai/ -type d -iname '.svn' | xargs rm -Rf endif ifeq ($(shell if test -n "`ls -l \"$(BIN_DIR)/scenario/\"*.scn 2> /dev/null`"; then echo 1; fi), 1) $(Q)cp "$(BIN_DIR)/scenario/"*.scn "$(BUNDLE_DIR)/scenario/"