pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/check Added a little comment.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c590ec8d56b7
branches:  trunk
changeset: 521331:c590ec8d56b7
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Nov 09 15:12:15 2006 +0000

description:
Added a little comment.

The program now exits with the correct exit status in case of errors.

diffstat:

 mk/check/check-portability.awk |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r e849492fe68a -r c590ec8d56b7 mk/check/check-portability.awk
--- a/mk/check/check-portability.awk    Thu Nov 09 15:10:16 2006 +0000
+++ b/mk/check/check-portability.awk    Thu Nov 09 15:12:15 2006 +0000
@@ -1,4 +1,10 @@
-# $NetBSD: check-portability.awk,v 1.1 2006/11/09 14:36:18 rillig Exp $
+# $NetBSD: check-portability.awk,v 1.2 2006/11/09 15:12:15 rillig Exp $
+#
+# Checks a shell file for possible portability problems.
+#
+# ENVIRONMENT
+#      (See check-subr.awk)
+#
 
 BEGIN {
        found_random = no;
@@ -75,4 +81,6 @@
                h = h "package Makefile.\n";
                cs_explain(h);
        }
+
+       cs_exit();
 }



Home | Main Index | Thread Index | Old Index