Commit f977e95a authored by Philip Schildkamp's avatar Philip Schildkamp

Fix inconsistency

parent 3096ba91
......@@ -14,8 +14,8 @@ fn_start() {
test -f "$START_EXECDIR/Elasticsearch.env" || return 1
source "$START_EXECDIR/CouchDB.env"
export COUCH="http://$VMIP:$DBMSPort/$DBName"
sudo sed -i "s#\(\"couchdb\":\) \"http.*#\1 \"$COUCH/\",#" \
export COUCH="http://$VMIP:$DBMSPort"
sudo sed -i "s#\(\"couchdb\":\) \"http.*#\1 \"$COUCH/$DBName/\",#" \
"$START_EXECDIR/package.json"
source "$START_EXECDIR/Elasticsearch.env"
......
......@@ -15,7 +15,7 @@ fn_start() {
source "$START_EXECDIR/CouchDB.env"
export COUCH="http://$VMIP:$DBMSPort"
sudo sed -i "s#\(\"couchdb\":\) \"http.*#\1 \"$COUCH/\",#" \
sudo sed -i "s#\(\"couchdb\":\) \"http.*#\1 \"$COUCH/$DBName/\",#" \
"$START_EXECDIR/package.json"
source "$START_EXECDIR/Elasticsearch.env"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment