]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
Makefile: fix MAKEFLAGS tests with multiple flags
authorJohn Keeping <john@keeping.me.uk>
Sat, 5 Sep 2015 12:22:10 +0000 (13:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Sep 2015 16:26:23 +0000 (09:26 -0700)
commitef49e05a6431727b54c399d1f3636c76ac682d61
treee4cef956774b41792ff8135fa664f00bb1d02e34
parenta6f37099d0fce10b536abc1d1a8111460638bac0
Makefile: fix MAKEFLAGS tests with multiple flags

findstring is defined as $(findstring FIND,IN) so if multiple flags are
set these tests do the wrong thing unless $(MAKEFLAGS) is the second
argument.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile