Skip to content

Commit 9145b19

Browse files
j6tgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bfbf4d4 commit 9145b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2093,7 +2093,7 @@ $(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak
20932093
perl/perl.mak: perl/PM.stamp
20942094

20952095
perl/PM.stamp: FORCE
2096-
$(QUIET_GEN)find perl -type f -name '*.pm' | sort >$@+ && \
2096+
$(QUIET_GEN)$(FIND) perl -type f -name '*.pm' | sort >$@+ && \
20972097
{ cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@; } && \
20982098
$(RM) $@+
20992099

0 commit comments

Comments
 (0)