summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-08-27 17:42:27 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-27 17:47:42 -0400
commit7b0005be9dd45a0ce3639a7f5db58c1d2df2e485 (patch)
treec20a8f061210fa07dc2d03e09cbaffeea9ca6e3e /configure
parentc3bd782ff1b3eb91b238f5ca3436edafd017c61c (diff)
my name is BigCouch
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 9 insertions, 9 deletions
diff --git a/configure b/configure
index e9ce1b07..eb8afd40 100755
--- a/configure
+++ b/configure
@@ -18,8 +18,8 @@ function quit {
exit
}
-PREFIX="/opt/dbcore"
-DBCORE_USER=`whoami`
+PREFIX="/opt/bigcouch"
+BIGCOUCH_USER=`whoami`
ABSPATH="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
DIRPATH=`dirname "$ABSPATH"`
@@ -44,7 +44,7 @@ do
shift 2
;;
-u)
- DBCORE_USER=$2
+ BIGCOUCH_USER=$2
shift 2
;;
*)
@@ -57,13 +57,13 @@ done
if test ! -n "$DATA"; then DATA="$PREFIX/var/lib"; fi
if test ! -n "$VIEW"; then VIEW="$PREFIX/var/lib"; fi
-echo "==> configuring dbcore in rel/dbcore.config"
-cat > rel/dbcore.config << EOF
+echo "==> configuring bigcouch in rel/bigcouch.config"
+cat > rel/bigcouch.config << EOF
{prefix, "$PREFIX"}.
{data_dir, "$DATA"}.
{view_dir, "$VIEW"}.
-{user, "$DBCORE_USER"}.
-{node_name, "-name dbcore"}.
+{user, "$BIGCOUCH_USER"}.
+{node_name, "-name bigcouch"}.
{cluster_port, 5984}.
{backend_port, 5986}.
EOF
@@ -73,7 +73,7 @@ cat > install.mk << EOF
prefix = $PREFIX
data_dir = $DATA
view_dir = $VIEW
-user = $DBCORE_USER
+user = $BIGCOUCH_USER
EOF
# finally, a few config files for local development nodes
@@ -88,4 +88,4 @@ cat > rel/dev$i.config << EOF
EOF
done
-cat rel/dbcore.config
+cat rel/bigcouch.config