diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-21 12:27:36 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-21 12:27:36 +0000 |
commit | 4d2476efa1fc3f95832a74eafd465dab0f6dbd58 (patch) | |
tree | 216ae664de9428a675a42e71c99b96e9b5451ee0 | |
parent | c9c675c51623799a4f97152041523b67ba00b19d (diff) | |
download | pkgsrc-4d2476efa1fc3f95832a74eafd465dab0f6dbd58.tar.gz |
Changed the failure into a warning when options such as "-I -L" appear
next to each other.
-rw-r--r-- | mk/wrapper/arg-source | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/wrapper/arg-source b/mk/wrapper/arg-source index e7a3f801d6a..57959ecaf19 100644 --- a/mk/wrapper/arg-source +++ b/mk/wrapper/arg-source @@ -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 @@ while $test $# -gt 0; do -[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" |