summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2012-08-06 21:06:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-08-06 21:21:13 (GMT)
commit9145b19ecf163b9a4aa3c9fda38ca3af41cd52d3 (patch)
tree148a92e770b21f192affecb290e6b9289ff06556
parentbfbf4d477a33be413800f531c3ac0d227f46ab44 (diff)
downloadgit-9145b19ecf163b9a4aa3c9fda38ca3af41cd52d3.zip
git-9145b19ecf163b9a4aa3c9fda38ca3af41cd52d3.tar.gz
git-9145b19ecf163b9a4aa3c9fda38ca3af41cd52d3.tar.bz2
Makefile: use overridable $(FIND) instead of hard-coded 'find'
The Makefile already offers the variable $(FIND) and uses it except in one place. Fix it. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4b58b91..15d1319 100644
--- a/Makefile
+++ b/Makefile
@@ -2093,7 +2093,7 @@ $(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak
perl/perl.mak: perl/PM.stamp
perl/PM.stamp: FORCE
- $(QUIET_GEN)find perl -type f -name '*.pm' | sort >$@+ && \
+ $(QUIET_GEN)$(FIND) perl -type f -name '*.pm' | sort >$@+ && \
{ cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@; } && \
$(RM) $@+