Module Name: src Committed By: uebayasi Date: Thu Dec 10 16:40:21 UTC 2009
Modified Files: src/distrib/sets: checkflist Log Message: Style. Better variable names. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/distrib/sets/checkflist Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/checkflist diff -u src/distrib/sets/checkflist:1.39 src/distrib/sets/checkflist:1.40 --- src/distrib/sets/checkflist:1.39 Thu Dec 10 16:22:06 2009 +++ src/distrib/sets/checkflist Thu Dec 10 16:40:21 2009 @@ -1,6 +1,6 @@ #! /bin/sh -- # -# $NetBSD: checkflist,v 1.39 2009/12/10 16:22:06 uebayasi Exp $ +# $NetBSD: checkflist,v 1.40 2009/12/10 16:40:21 uebayasi Exp $ # # Verify output of makeflist against contents of ${DESTDIR} and ${metalog}. @@ -86,10 +86,14 @@ # ignore_exceptions() { -IGNORE_REGEXP="^\./var/db/syspkg(\$|/)" -IGNORE_REGEXP="${IGNORE_REGEXP}|^\./METALOG(\..*)?\$" -IGNORE_REGEXP="${IGNORE_REGEXP}|^\./etc/mtree/set\.[a-z]*\$" - ${EGREP} -v -e "${IGNORE_REGEXP}" +IGNORE_REGEXP_SYSPKG="^\./var/db/syspkg(\$|/)" +IGNORE_REGEXP_METALOG="^\./METALOG(\..*)?\$" +IGNORE_REGEXP_MTREE="^\./etc/mtree/set\.[a-z]*\$" + + ${EGREP} -v \ + -e "${IGNORE_REGEXP_SYSPKG}" \ + -e "${IGNORE_REGEXP_METALOG}" \ + -e "${IGNORE_REGEXP_MTREE}" } #