[Gingerbase] Remove pyflakes checking on .git

28 Dec
2015
28 Dec
'15
11:53 a.m.
.git isn't a directory on submodles, it's handler for a directory in Wok. This will avoid this kind of error: ./.git:1:7: invalid syntax gitdir: ../../../../.git/modules/src/wok/plugins/<plugin> ^ Signed-off-by: Ramon Medeiros <ramonn@linux.vnet.ibm.com> --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 1f6d703..5e875d1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,7 +58,7 @@ I18N_FILES = ./i18n.py \ check-local: contrib/check_i18n.py $(I18N_FILES) - find . -path './.git' -prune -type f -o \ + find . -path -prune -type f -o \ -name '*.py' -o -name '*.py.in' | xargs $(PYFLAKES) | \ while read LINE; do echo "$$LINE"; false; done -- 2.1.0
3526
Age (days ago)
3526
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ramon Medeiros