changeset 22308:246b6a9c8d8f

build: don't use -s flag for `which` `which -s` is a BSDism that doesn't exist on other versions of `which`. That means that even on Mac OS X, `make osx` breaks if you have another utils package installed (e.g. debianutils installed thru fink). Redirect output to /dev/null instead.
author Kevin Bullock <kbullock@ringworld.org>
date Fri, 29 Aug 2014 12:06:31 +0200
parents 63ed188e3fc7
children a65697c3f20e
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Aug 29 17:15:49 2014 +0200
+++ b/Makefile	Fri Aug 29 12:06:31 2014 +0200
@@ -135,7 +135,7 @@
 # Packaging targets
 
 osx:
-	@which -s bdist_mpkg || \
+	@which bdist_mpkg >/dev/null || \
 	   (echo "Missing bdist_mpkg (easy_install bdist_mpkg)"; false)
 	bdist_mpkg setup.py
 	mkdir -p packages/osx