pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper The function transform_pass_with_warning() ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f31c86fb592f
branches:  trunk
changeset: 522014:f31c86fb592f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Nov 30 12:59:56 2006 +0000

description:
The function transform_pass_with_warning() also gets its debugging
output.

diffstat:

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

diffs (16 lines):

diff -r 7a59f3f78555 -r f31c86fb592f mk/wrapper/wrapper-subr.sh
--- a/mk/wrapper/wrapper-subr.sh        Thu Nov 30 12:49:57 2006 +0000
+++ b/mk/wrapper/wrapper-subr.sh        Thu Nov 30 12:59:56 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: wrapper-subr.sh,v 1.6 2006/11/30 12:11:48 rillig Exp $
+# $NetBSD: wrapper-subr.sh,v 1.7 2006/11/30 12:59:56 rillig Exp $
 #
 # This file contains shell functions that are useful to the wrapper
 # scripts.
@@ -50,5 +50,6 @@
 transform_pass_with_warning() {
        _warning=${1-"passing 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