Change awk detector to work with mawk; fixes #2073

daktil_thumb_popravljen
Tim Dierks 2017-11-30 21:18:32 -05:00 committed by Jack Humbert
parent 7aaef16266
commit c9d0f210bc
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ ifeq ($(COLOR),true)
BOLD=\033[1m BOLD=\033[1m
endif endif
ifneq ($(shell awk --version 2>/dev/null),) ifneq ($(shell echo "1 2 3" | awk '{ printf "%2s", $$3; }' 2>/dev/null)," 3")
AWK=awk AWK=awk
else else
AWK=cat && test AWK=cat && test