From 59156d031c06806e6d5b8a6e1611665725527301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Sat, 10 Aug 2019 09:21:44 +0200 Subject: [PATCH] Ignore lines beginning with '#' and empty lines --- sign-modules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sign-modules.sh b/sign-modules.sh index ba3561c..2d5c6a0 100755 --- a/sign-modules.sh +++ b/sign-modules.sh @@ -54,7 +54,7 @@ do ;; -f) shift - MODULES=($(cat $1)) + MODULES=($(cat $1 | grep -v '^#'| sed -e '/^[[:blank:]]*$/d')) shift ;; --)