You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/07/22 07:29:41 UTC

[24/50] couchdb commit: updated refs/heads/developer-preview-2.0 to 2a31bca

ignore unused params and make them not stop parsing


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/c7077e9e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/c7077e9e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/c7077e9e

Branch: refs/heads/developer-preview-2.0
Commit: c7077e9ea5120bf526be465c471e4e301920406a
Parents: f900068
Author: Jan Lehnardt <ja...@apache.org>
Authored: Wed Jun 24 12:44:22 2015 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Wed Jun 24 23:07:03 2015 +0200

----------------------------------------------------------------------
 configure | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/c7077e9e/configure
----------------------------------------------------------------------
diff --git a/configure b/configure
index fe8e925..bd3d0f2 100755
--- a/configure
+++ b/configure
@@ -86,13 +86,13 @@ parse_opts() {
 
             --test)
                 TEST=1
-                shift 1
+                shift
                 continue
                 ;;
 
             --with-curl|-c)
                 WITH_CURL="true"
-                shift 1
+                shift
                 continue
                 ;;
 
@@ -352,6 +352,10 @@ parse_opts() {
                 shift
                 break
                 ;;
+            -?*)
+                echo "WARNING: Unkonwn option '$1', ignoring" >&2
+                shift
+                ;;
             *) # Done
                 break
         esac