{"thread":{"id":"31196","subject":"[PATCH] Makefile: use overridable $(FIND) instead of hard-coded 'find'","startedAt":"2012-08-06T21:06:14Z","lastAt":"2012-08-06T21:25:12Z","messageCount":2,"participants":["Johannes Sixt","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"196566","messageId":"502031C6.7040908@kdbg.org","threadId":"31196","inReplyTo":null,"subject":"[PATCH] Makefile: use overridable $(FIND) instead of hard-coded 'find'","fromName":"Johannes Sixt","fromEmail":"j6t@kdbg.org","sentAt":"2012-08-06T21:06:14Z","receivedAt":"2012-08-06T21:06:14Z","isPatch":true,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"The Makefile already offers the variable $(FIND) and uses it except in one\nplace. Fix it.\n\nSigned-off-by: Johannes Sixt <j6t@kdbg.org>\n---\n For my Windows builds, I need \"FIND=/usr/bin/find\" in config.mak because\n I have /usr/bin is too late in PATH to override MS's incompatible 'find'.\n\n Makefile | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/Makefile b/Makefile\nindex fe9bcea..bc88d13 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -2094,7 +2094,7 @@ $(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak\n perl/perl.mak: perl/PM.stamp\n \n perl/PM.stamp: FORCE\n-\t$(QUIET_GEN)find perl -type f -name '*.pm' | sort >$@+ && \\\n+\t$(QUIET_GEN)$(FIND) perl -type f -name '*.pm' | sort >$@+ && \\\n \t{ cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@; } && \\\n \t$(RM) $@+\n \n-- \n1.7.11.1.127.gdcfb9a9\n"},{"id":"196567","messageId":"7vfw7zyapz.fsf@alter.siamese.dyndns.org","threadId":"31196","inReplyTo":"502031C6.7040908@kdbg.org","subject":"Re: [PATCH] Makefile: use overridable $(FIND) instead of hard-coded 'find'","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-08-06T21:25:12Z","receivedAt":"2012-08-06T21:25:12Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}