couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [3/4] git commit: updated refs/heads/1744-single-config-file to 3fd7500
Date Sun, 07 Jul 2013 16:31:26 GMT
Fix a mistake that broke all tests.


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

Branch: refs/heads/1744-single-config-file
Commit: 1c0362262b1449b3259786ed25f931efbaa3c544
Parents: 0abdba0
Author: Alexander Shorin <kxepal@apache.org>
Authored: Sun Jul 7 19:25:03 2013 +0400
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Sun Jul 7 19:25:03 2013 +0400

----------------------------------------------------------------------
 bin/couchdb.tpl.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/1c036226/bin/couchdb.tpl.in
----------------------------------------------------------------------
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in
index 9ed927d..bd0e465 100644
--- a/bin/couchdb.tpl.in
+++ b/bin/couchdb.tpl.in
@@ -144,7 +144,7 @@ _add_config_dir () {
 _load_config () {
     _add_config_file "$DEFAULT_CONFIG_FILE"
     _add_config_dir "$DEFAULT_CONFIG_DIR"
-    if [test -r "$LOCAL_CONFIG_FILE" ]; then
+    if [ -r "$LOCAL_CONFIG_FILE" ]; then
       _add_config_file "$LOCAL_CONFIG_FILE"
     fi
     _add_config_dir "$LOCAL_CONFIG_DIR"


Mime
View raw message