summaryrefslogtreecommitdiffstats
path: root/make-lint
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2011-12-07 19:04:55 -0500
committerMartin Kosek <mkosek@redhat.com>2011-12-08 08:33:00 +0100
commit90b1c6b1b39d88af1370d885e6ec21af3e3012e3 (patch)
treecb6caf52a6800b32ddab7c028e7a3dde0e25af63 /make-lint
parentc462314f3ca15e8f7992a77986014c6d46602490 (diff)
downloadfreeipa-90b1c6b1b39d88af1370d885e6ec21af3e3012e3.tar.gz
freeipa-90b1c6b1b39d88af1370d885e6ec21af3e3012e3.tar.xz
freeipa-90b1c6b1b39d88af1370d885e6ec21af3e3012e3.zip
ticket 2172 - If "make rpms" fails so will the next make
If "make rpms" fails it doesn't clean up the rpmbuild directory it created. The next make-lint will also fail because it finds files under rpmbuild. make-lint is invoked by "make rpms", a vicous cycle. The patch contains two sets of changes Include "rpmbuild" in the IGNORE_PATHS list of make-lint. Fix the Makefile to use $(RPMBUILD) consistently, there were a number of hardcoded uses of "rpmbuild" as a direcotry.
Diffstat (limited to 'make-lint')
-rwxr-xr-xmake-lint2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-lint b/make-lint
index 83025d84f..ef2414970 100755
--- a/make-lint
+++ b/make-lint
@@ -37,7 +37,7 @@ except ImportError:
# File names to ignore when searching for python source files
IGNORE_FILES = ('.*', '*~', '*.in', '*.pyc', '*.pyo')
-IGNORE_PATHS = ('build', 'dist', 'install/po/test_i18n.py', 'lite-server.py',
+IGNORE_PATHS = ('build', 'rpmbuild', 'dist', 'install/po/test_i18n.py', 'lite-server.py',
'make-lint', 'make-test', 'tests')
class IPATypeChecker(TypeChecker):