You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2016/08/31 08:37:04 UTC
couchdb commit: updated refs/heads/master to cedb69c
Repository: couchdb
Updated Branches:
refs/heads/master 487df372d -> cedb69c5e
fix: quote paths in startup script, to allow location independent starts
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/cedb69c5
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/cedb69c5
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/cedb69c5
Branch: refs/heads/master
Commit: cedb69c5ed415dbe837de21f86dff7fbb9f39e4b
Parents: 487df37
Author: Jan Lehnardt <ja...@apache.org>
Authored: Wed Aug 31 10:36:53 2016 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Wed Aug 31 10:36:53 2016 +0200
----------------------------------------------------------------------
rel/overlay/bin/couchdb | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/cedb69c5/rel/overlay/bin/couchdb
----------------------------------------------------------------------
diff --git a/rel/overlay/bin/couchdb b/rel/overlay/bin/couchdb
index f64bd44..1669291 100755
--- a/rel/overlay/bin/couchdb
+++ b/rel/overlay/bin/couchdb
@@ -12,20 +12,20 @@
# License for the specific language governing permissions and limitations under
# the License.
-COUCHDB_BIN_DIR=$(cd ${0%/*} && pwd)
+COUCHDB_BIN_DIR=$(cd "${0%/*}" && pwd)
ERTS_BIN_DIR=$COUCHDB_BIN_DIR/../
-cd $COUCHDB_BIN_DIR/../
+cd "$COUCHDB_BIN_DIR/../"
export ROOTDIR=${ERTS_BIN_DIR%/*}
-START_ERL=`cat $ROOTDIR/releases/start_erl.data`
+START_ERL=`cat "$ROOTDIR/releases/start_erl.data"`
ERTS_VSN=${START_ERL% *}
APP_VSN=${START_ERL#* }
-export BINDIR=$ROOTDIR/erts-$ERTS_VSN/bin
+export BINDIR="$ROOTDIR/erts-$ERTS_VSN/bin"
export EMU=beam
export PROGNAME=`echo $0 | sed 's/.*\///'`
-exec $BINDIR/erlexec -boot $ROOTDIR/releases/$APP_VSN/couchdb \
- -args_file $ROOTDIR/etc/vm.args \
- -config $ROOTDIR/releases/$APP_VSN/sys.config
+exec "$BINDIR/erlexec" -boot "$ROOTDIR/releases/$APP_VSN/couchdb" \
+ -args_file "$ROOTDIR/etc/vm.args" \
+ -config "$ROOTDIR/releases/$APP_VSN/sys.config"