summaryrefslogtreecommitdiff
path: root/mk/wrapper/wrapper-subr.sh
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-11-26 09:13:44 +0000
committerrillig <rillig@pkgsrc.org>2006-11-26 09:13:44 +0000
commit627712c574033f020e015d8eade8abd75f97b142 (patch)
tree905a581cb04454e1a8da4b914d7d9f23cc7c56af /mk/wrapper/wrapper-subr.sh
parent00bf30e202ce551122acdd4af46cb934ee1b11da (diff)
downloadpkgsrc-627712c574033f020e015d8eade8abd75f97b142.tar.gz
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 (limited to 'mk/wrapper/wrapper-subr.sh')
-rw-r--r--mk/wrapper/wrapper-subr.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/wrapper/wrapper-subr.sh b/mk/wrapper/wrapper-subr.sh
index 9e7a59c9af6..4bcfbe0379a 100644
--- a/mk/wrapper/wrapper-subr.sh
+++ b/mk/wrapper/wrapper-subr.sh
@@ -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 @@ transform_pass() {
# 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
}