diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-22 14:54:32 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-22 14:54:32 +0000 |
commit | 7cdc72c444995b464f755edaa44eba7c3ae5fb8c (patch) | |
tree | 4bd71ec3a9efb4fb2741bf652db13120bbd3e1a7 | |
parent | 9d04da4b44c88db49ee43ae90337392f1a5c8c42 (diff) | |
download | pkgsrc-7cdc72c444995b464f755edaa44eba7c3ae5fb8c.tar.gz |
Changed the default warning message to include the word "unknown", since
otherwise it doesn't sound like a warning.
-rw-r--r-- | mk/wrapper/wrapper-subr.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/wrapper/wrapper-subr.sh b/mk/wrapper/wrapper-subr.sh index dc6b0cb964e..01486f8dcac 100644 --- a/mk/wrapper/wrapper-subr.sh +++ b/mk/wrapper/wrapper-subr.sh @@ -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 @@ transform_pass() { # 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 |