Skip to content

Commit

Permalink
correctly test to see if awk exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Jun 16, 2016
1 parent 33e83aa commit 91b469d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ ifeq ($(COLOR),true)
BOLD=\033[1m
endif

ifeq ("$(awk /dev/null 2>&1)", "")
ifneq ($(shell awk --version 2>/dev/null),)
AWK=awk
else
AWK=cat && test
Expand Down

0 comments on commit 91b469d

Please sign in to comment.