Change awk detector to work with mawk; fixes #2073
This commit is contained in:
parent
7aaef16266
commit
c9d0f210bc
@ -9,7 +9,7 @@ ifeq ($(COLOR),true)
|
||||
BOLD=\033[1m
|
||||
endif
|
||||
|
||||
ifneq ($(shell awk --version 2>/dev/null),)
|
||||
ifneq ($(shell echo "1 2 3" | awk '{ printf "%2s", $$3; }' 2>/dev/null)," 3")
|
||||
AWK=awk
|
||||
else
|
||||
AWK=cat && test
|
||||
|
Loading…
Reference in New Issue
Block a user