Skip to content

Commit

Permalink
Tweak tar finding code again
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Jan 28, 2014
1 parent 89d32b2 commit a978d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ LDFLAGS += -fsanitize=address
endif

TAR=`which gtar || which tar`
TAR_TEST := $(shell $(TAR) --help 2>&1 | grep 'bsdtar\|strip-components')
TAR_TEST := $(shell $(TAR) --help 2>&1 | egrep 'bsdtar|strip-components')
ifeq (,$(findstring components,$(TAR_TEST)))
ifneq (bsdtar,$(findstring bsdtar,$(TAR_TEST)))
$(error "please install either GNU tar or bsdtar")
Expand Down

0 comments on commit a978d5f

Please sign in to comment.