pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper transform_pass_unknown writes its warning i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8945c0dc7094
branches:  trunk
changeset: 521887:8945c0dc7094
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Nov 26 09:13:44 2006 +0000

description:
transform_pass_unknown writes its warning into the wrapper log file,
instead of doing nothing at all. (Before, I had not known where to write
these warnings, so it had been commented out.)

diffstat:

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

diffs (17 lines):

diff -r 818f84d06e40 -r 8945c0dc7094 mk/wrapper/wrapper-subr.sh
--- a/mk/wrapper/wrapper-subr.sh        Sun Nov 26 09:02:31 2006 +0000
+++ b/mk/wrapper/wrapper-subr.sh        Sun Nov 26 09:13:44 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: wrapper-subr.sh,v 1.2 2006/11/14 13:40:20 rillig Exp $
+# $NetBSD: wrapper-subr.sh,v 1.3 2006/11/26 09:13:44 rillig Exp $
 #
 # This file contains shell functions that are useful to the wrapper
 # scripts.
@@ -35,6 +35,6 @@
 
 # usage: transform_pass_unknown
 transform_pass_unknown() {
-       #echo "warning: $wrapsubr_name: unknown option $arg" 1>/dev/tty
+       msg_log "$wrapperlog" "[$wrapsubr_name] warning: unknown option $arg"
        addtocache=no
 }



Home | Main Index | Thread Index | Old Index