Permalink
Browse files

If people use homebrew on mac, the tar will accept the wildcard synta…

…x, so instead of checking for darwin, best to check if the options are available or not
  • Loading branch information...
1 parent a5d0bfe commit 0688f1375a0151f8b31c0055b453bc8f0806b435 @jedi4ever committed Jan 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
@@ -19,8 +19,8 @@ GEM_HOME=build/gems
QUIET=@
# OS-specific options
-UNAME=$(shell uname)
-ifeq ($(UNAME), Darwin)
+TARCHECK=$(shell tar --help|grep wildcard|wc -l)
+ifeq ($TARCHECK), 0)
TAR_OPTS=
else
TAR_OPTS=--wildcards

0 comments on commit 0688f13

Please sign in to comment.