Skip to content

Commit

Permalink
Makefile: fix 'lesson-fixme' target for Windows (datacarpentry#486)
Browse files Browse the repository at this point in the history
Git for Windows doesn't provide fgrep, which is a shortcut
to call `grep -F` on Mac and Linux. Instead, we have to use
full arguments.
  • Loading branch information
maxim-belkin authored Aug 11, 2020
1 parent 6861f75 commit 95221b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ lesson-files :

## * lesson-fixme : show FIXME markers embedded in source files
lesson-fixme :
@fgrep -i -n FIXME ${MARKDOWN_SRC} || true
@grep --fixed-strings --word-regexp --line-number --no-messages FIXME ${MARKDOWN_SRC} || true

##
## IV. Auxililary (plumbing) commands
Expand Down

0 comments on commit 95221b1

Please sign in to comment.