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 failure into a warning when opt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76fda6571f5c
branches:  trunk
changeset: 525700:76fda6571f5c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Feb 21 12:27:36 2007 +0000

description:
Changed the failure into a warning when options such as "-I -L" appear
next to each other.

diffstat:

 mk/wrapper/arg-source |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f82760c7c085 -r 76fda6571f5c mk/wrapper/arg-source
--- a/mk/wrapper/arg-source     Wed Feb 21 12:24:46 2007 +0000
+++ b/mk/wrapper/arg-source     Wed Feb 21 12:27:36 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: arg-source,v 1.10 2007/02/21 09:43:26 rillig Exp $
+# $NetBSD: arg-source,v 1.11 2007/02/21 12:27:36 rillig Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -55,7 +55,7 @@
        -[ILR])
                nextarg="$1"; shift
                case "$nextarg" in
-               -*) fail "arg-source" "An $arg option must not be followed by another option, $nextarg." ;;
+               -*) msg_log $wrapperlog "WARNING: [arg-source] An $arg option must not be followed by another option, $nextarg." ;;
                esac
                shquote "$nextarg"; nextarg="$shquoted"
                append_queue argbuf "$arg$nextarg"



Home | Main Index | Thread Index | Old Index