From: Michael Stapelberg Date: Sat, 2 May 2009 19:03:54 +0000 (+0200) Subject: Bugfix: Correctly redirect output when checking for pkg-config X-Git-Tag: 3.a-bf1~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5a1eaba4d3599de0873fce2cd897fe7a25e0a32f;p=i3%2Fi3 Bugfix: Correctly redirect output when checking for pkg-config --- diff --git a/Makefile b/Makefile index 4e380770..93377aa5 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ CFLAGS += -DI3_VERSION=\"${GIT_VERSION}\" # Check if pkg-config is installed, because without pkg-config, the following # check for the version of libxcb cannot be done. -ifeq ($(shell which pkg-config 2>&- 1>2 || echo 1),1) +ifeq ($(shell which pkg-config 2>/dev/null 1>/dev/null || echo 1),1) $(error "pkg-config was not found") endif