pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/check Made the code simpler.
details: https://anonhg.NetBSD.org/pkgsrc/rev/cadd6a0db38a
branches: trunk
changeset: 521318:cadd6a0db38a
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Nov 09 09:51:46 2006 +0000
description:
Made the code simpler.
diffstat:
mk/check/check-headers.sh | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diffs (30 lines):
diff -r 4d31877f688e -r cadd6a0db38a mk/check/check-headers.sh
--- a/mk/check/check-headers.sh Thu Nov 09 09:36:41 2006 +0000
+++ b/mk/check/check-headers.sh Thu Nov 09 09:51:46 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-headers.sh,v 1.1 2006/11/09 02:53:15 rillig Exp $
+# $NetBSD: check-headers.sh,v 1.2 2006/11/09 09:51:46 rillig Exp $
#
# This program checks the header files for possible problems.
#
@@ -32,17 +32,13 @@
| {
while read fname; do
+ eval "case \"\$fname\" in $SKIP_FILTER *.orig) continue;; esac"
+
case "$fname" in
*.h | *.hpp | *.h++ | *.hxx)
- ;;
- *)
- continue
+ check_header "$fname"
;;
esac
-
- eval "case \"\$fname\" in $SKIP_FILTER *.orig) continue;; esac"
-
- check_header "$fname"
done
cs_exit
}
Home |
Main Index |
Thread Index |
Old Index