From 761d6ad2d53613c0cae5f0dae779f263fab7ae7d Mon Sep 17 00:00:00 2001 From: "Alexander van Gessel (AI0867)" Date: Wed, 3 Oct 2012 01:53:14 +0200 Subject: [PATCH] Ignore comments with leading whitespace as well as those without. Reported-by: jan-ruzicka --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6e2f779..920a75e 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ pylint: @pylint --output-format=parseable $(PYLINTOPTS) irkerhook.py loc: - grep -v "^#" irkerd irkerhook.py | wc -l + grep -v '^ *#' irkerd irkerhook.py | wc -l SOURCES = README COPYING NEWS BUGS install.txt security.txt hacking.txt \ irkerd irkerhook.py Makefile irkerd.xml irkerhook.xml -- 2.26.2