Skip to content

Commit

Permalink
Silence (g)tar search warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Feb 8, 2014
1 parent 94ebea0 commit 24a7bd4
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 @@ -233,7 +233,7 @@ JCFLAGS += -fsanitize=address -mllvm -asan-stack=0
LDFLAGS += -fsanitize=address
endif

TAR=`which gtar || which tar`
TAR=`which gtar 2>/dev/null || which tar 2>/dev/null`
TAR_TEST := $(shell $(TAR) --help 2>&1 | egrep 'bsdtar|strip-components')
ifeq (,$(findstring components,$(TAR_TEST)))
ifneq (bsdtar,$(findstring bsdtar,$(TAR_TEST)))
Expand Down

0 comments on commit 24a7bd4

Please sign in to comment.