win: default grepprg to findstr.exe (#7611)

This commit is contained in:
Jan Edmund Lazo 2017-11-21 18:35:51 -05:00 committed by Justin M. Keyes
parent 9b6bf8fa37
commit 7b686881a1

View File

@ -993,11 +993,11 @@ return {
expand=true,
varname='p_gp',
defaults={
condition='UNIX',
condition='WIN32',
-- Add an extra file name so that grep will always
-- insert a file name in the match line. */
if_true={vi="grep -n $* /dev/null"},
if_false={vi="grep -n "},
if_true={vi="findstr /n $* nul"},
if_false={vi="grep -n $* /dev/null"}
}
},
{