Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sets Style. Better variable names.



details:   https://anonhg.NetBSD.org/src/rev/7c9a9c4259a1
branches:  trunk
changeset: 749838:7c9a9c4259a1
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Dec 10 16:40:21 2009 +0000

description:
Style.  Better variable names.

diffstat:

 distrib/sets/checkflist |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r a48731b0ed1d -r 7c9a9c4259a1 distrib/sets/checkflist
--- a/distrib/sets/checkflist   Thu Dec 10 16:22:06 2009 +0000
+++ b/distrib/sets/checkflist   Thu Dec 10 16:40:21 2009 +0000
@@ -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}"
 }
 
 #



Home | Main Index | Thread Index | Old Index