From 0f3226f954e4322c77a70329dfc20564338382bf Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Thu, 10 Sep 2009 19:25:36 +0000 Subject: Support excluding path from all checks. --- cron-sh/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh/functions.sh') diff --git a/cron-sh/functions.sh b/cron-sh/functions.sh index a099d83..9555033 100644 --- a/cron-sh/functions.sh +++ b/cron-sh/functions.sh @@ -78,7 +78,7 @@ Filter() { else # get the rules EXCEPTIONS="" - for except in $(cat $exceptions | sed -e "/^$RULE /!d; s/^$RULE \(.*\)/\1/g"); do + for except in $(cat $exceptions | sed -e "/^\($RULE\|\*\) /!d; s/^\($RULE\|\*\) \(.*\)/\2/g"); do exc=${except//\//\\\/} EXCEPTIONS="$EXCEPTIONS -e /${exc}/d" done -- cgit v1.2.1