diff options
-rw-r--r-- | mk/check/check-portability.sh | 4 | ||||
-rw-r--r-- | mk/check/check-subr.awk | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mk/check/check-portability.sh b/mk/check/check-portability.sh index 7f5f0024e23..68319563ddf 100644 --- a/mk/check/check-portability.sh +++ b/mk/check/check-portability.sh @@ -1,4 +1,4 @@ -# $NetBSD: check-portability.sh,v 1.4 2006/12/12 21:10:41 rillig Exp $ +# $NetBSD: check-portability.sh,v 1.5 2006/12/31 13:35:10 rillig Exp $ # # This program checks the extracted files for portability issues that # are likely to result in false assumptions by the package. @@ -22,7 +22,7 @@ check_shell() { CK_PROGNAME="check-portability.awk" \ awk -f "$PKGSRCDIR/mk/check/check-subr.awk" \ -f "$PKGSRCDIR/mk/check/check-portability.awk" \ - < "$1" \ + < "$1" 1>&2 \ || cs_exitcode=1 } diff --git a/mk/check/check-subr.awk b/mk/check/check-subr.awk index efacd8c211b..70a7d2381ee 100644 --- a/mk/check/check-subr.awk +++ b/mk/check/check-subr.awk @@ -1,4 +1,4 @@ -# $NetBSD: check-subr.awk,v 1.2 2006/11/11 23:59:56 rillig Exp $ +# $NetBSD: check-subr.awk,v 1.3 2006/12/31 13:35:10 rillig Exp $ # # This file contains functions that are used by the various awk # programs that check things in pkgsrc. All these programs must be @@ -39,16 +39,16 @@ function cs_warning_heading(new_heading) { } function cs_error_msg(msg) { - printf("ERROR: [%s] %s\n", cs_progname, msg) > "/dev/stderr"; + printf("ERROR: [%s] %s\n", cs_progname, msg); cs_exitcode = 1; } function cs_warning_msg(msg) { - printf("WARNING: [%s] %s\n", cs_progname, msg) > "/dev/stderr"; + printf("WARNING: [%s] %s\n", cs_progname, msg); } function cs_explain(msg) { - printf("\nExplanation:\n%s\n%s%s\n\n", cs_hline, msg, cs_hline) > "/dev/stderr"; + printf("\nExplanation:\n%s\n%s%s\n\n", cs_hline, msg, cs_hline); } function cs_exit() { |