]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Correctly redirect output when checking for pkg-config
authorMichael Stapelberg <michael+x200@stapelberg.de>
Sat, 2 May 2009 19:03:54 +0000 (21:03 +0200)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Sat, 2 May 2009 19:03:54 +0000 (21:03 +0200)
Makefile

index 4e380770249f35ee7bdf34d7e031f5ccbc66cbaa..93377aa51db8c0b2228631b8105520fdd439b644 100644 (file)
--- 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