From ae285ce92319b5983ab0e9fd134c74d152ca49b9 Mon Sep 17 00:00:00 2001 From: "Alexander van Gessel (AI0867)" Date: Wed, 3 Oct 2012 02:03:48 +0200 Subject: [PATCH] Ignore empty lines for LOC. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 920a75e..62e26d7 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 -vE '(^ *#|^ *$$)' 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