pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper Changed the default warning message to incl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63e37bed7621
branches:  trunk
changeset: 525752:63e37bed7621
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Feb 22 14:54:32 2007 +0000

description:
Changed the default warning message to include the word "unknown", since
otherwise it doesn't sound like a warning.

diffstat:

 mk/wrapper/wrapper-subr.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 437782039333 -r 63e37bed7621 mk/wrapper/wrapper-subr.sh
--- a/mk/wrapper/wrapper-subr.sh        Thu Feb 22 14:46:59 2007 +0000
+++ b/mk/wrapper/wrapper-subr.sh        Thu Feb 22 14:54:32 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: wrapper-subr.sh,v 1.9 2007/02/21 09:43:26 rillig Exp $
+# $NetBSD: wrapper-subr.sh,v 1.10 2007/02/22 14:54:32 rillig Exp $
 #
 # This file contains shell functions that are useful to the wrapper
 # scripts.
@@ -48,7 +48,7 @@
 
 # usage: transform_pass_with_warning [warning]
 transform_pass_with_warning() {
-       _warning=${1-"passing option $arg"}
+       _warning=${1-"passing unknown option $arg"}
        msg_log "$wrapperlog" "WARNING: [$wrapsubr_name] $_warning"
        $debug_log $wrapperlog "    ($wrapsubr_name) to: $arg [unchanged]"
        addtocache=no



Home | Main Index | Thread Index | Old Index