Skip to content

Commit

Permalink
global: adjust for FreeBSD and Arch Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jan 12, 2020
1 parent 7f17043 commit cc0d6f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -9,9 +9,9 @@ ifeq ($(.FEATURES),)
endif

# check gawk
GAWK := $(shell which gawk 2>/dev/null)
GAWK := $(shell which gawk 2>/dev/null || type -p gawk 2>/dev/null)
ifeq ($(GAWK),)
GAWK := $(shell which awk 2>/dev/null)
GAWK := $(shell which awk 2>/dev/null || type -p awk 2>/dev/null)
ifeq ($(GAWK),)
$(error Sorry, gawk/awk could not be found. Please check your PATH environment variable.)
endif
Expand Down

0 comments on commit cc0d6f6

Please sign in to comment.