diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-17 22:08:30 -0800 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2008-11-17 22:08:30 -0800 |
commit | f4e983641cf3b07e917eeaa82351533ef37e3c1f (patch) | |
tree | f7825078637f2f0a5c1bead529037fd0e4bfa12a | |
parent | f4060c92461c296241f2ffdb9f625fd99971016d (diff) | |
download | libcap2-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.Rules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |