couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [23/37] couchdb commit: updated refs/heads/master to 1ef7182
Date Wed, 24 Jun 2015 21:33:31 GMT
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/master
Commit: c7077e9ea5120bf526be465c471e4e301920406a
Parents: f900068
Author: Jan Lehnardt <jan@apache.org>
Authored: Wed Jun 24 12:44:22 2015 +0200
Committer: Jan Lehnardt <jan@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


Mime
View raw message