aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2012-08-06 23:06:14 +0200
committerJunio C Hamano <gitster@pobox.com>2012-08-06 14:21:13 -0700
commit9145b19ecf163b9a4aa3c9fda38ca3af41cd52d3 (patch)
tree148a92e770b21f192affecb290e6b9289ff06556 /Makefile
parentbfbf4d477a33be413800f531c3ac0d227f46ab44 (diff)
downloadgit-9145b19ecf163b9a4aa3c9fda38ca3af41cd52d3.tar.gz
git-9145b19ecf163b9a4aa3c9fda38ca3af41cd52d3.tar.xz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4b58b9182..15d13197d 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) $@+