From 5a1eaba4d3599de0873fce2cd897fe7a25e0a32f Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 2 May 2009 21:03:54 +0200 Subject: [PATCH] Bugfix: Correctly redirect output when checking for pkg-config --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5