summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-17 22:08:30 -0800
committerAndrew G. Morgan <morgan@kernel.org>2008-11-17 22:08:30 -0800
commitf4e983641cf3b07e917eeaa82351533ef37e3c1f (patch)
treef7825078637f2f0a5c1bead529037fd0e4bfa12a
parentf4060c92461c296241f2ffdb9f625fd99971016d (diff)
downloadlibcap2-f4e983641cf3b07e917eeaa82351533ef37e3c1f.tar.gz
Make.Rules: fix INDENT test
The indent variable has a test to see if indent is installed, but the test logic is inverted and has a typo in the binary name. [Ed. The typos were part of my tests that the tests were working, and then I absent mindedly checked it in!?! Thanks Mike for spotting it. :*) ] Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--Make.Rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Make.Rules b/Make.Rules
index 6bf1562..4a3d49a 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -64,7 +64,7 @@ INCS=$(topdir)/libcap/include/sys/capability.h
LDFLAGS += -L$(topdir)/libcap
CFLAGS += -Dlinux $(WARNINGS) $(DEBUG) $(IPATH)
PAM_CAP := $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo yes ; else echo no ; fi)
-INDENT := $(shell if [ -z "$(which ident 2>/dev/null)" ]; then echo "| indent -kr" ; fi)
+INDENT := $(shell if [ -n "$(which indent 2>/dev/null)" ]; then echo "| indent -kr" ; fi)
DYNAMIC := $(shell if [ ! -d "$(topdir)/.git" ]; then echo yes; fi)
LIBATTR := yes