From cd134d6eb8e21d85e2340d2eb6177d5b6139aff8 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 21 Aug 2008 22:35:37 +0000 Subject: [PATCH] Fix making bindists We were looking for executable things, but not requiring that they were files. So we were adding lots of directories (and thus their contents) to the bindists, massively inflating their size. --- mk/bindist.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/bindist.mk b/mk/bindist.mk index 2ab0259..00421cd 100644 --- a/mk/bindist.mk +++ b/mk/bindist.mk @@ -22,7 +22,7 @@ binary-dist: # Executables -find . -name "*.wrapper" -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null -find $(EXE_DIST_DIR)/setup-config -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null - -find $(EXE_DIST_DIR) -perm /a+x -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null + -find $(EXE_DIST_DIR) -type f -perm /a+x -exec echo $(WHERE_AM_I)/{} \; >> $(BIN_DIST_LIST) 2> /dev/null # And anything else ifneq "$(BINDIST_EXTRAS)" "" for FILE in $(BINDIST_EXTRAS); do if [ -e $$FILE ]; then echo $(WHERE_AM_I)/$$FILE >> $(BIN_DIST_LIST); fi; done -- 1.7.10.4