diff options
author | Joan Touzet <wohali@users.noreply.github.com> | 2017-09-28 17:06:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-28 17:06:37 -0400 |
commit | d04038a01d45206b161625a384e21169dbfc2e4e (patch) | |
tree | 9ad654f75259b1ae7f0d6110ced97e58a48c788e | |
parent | b756b77f414707b6ead79e0595702786cfef1c39 (diff) | |
parent | 7c49f25d104be412c1c70ff7d6eb59a6f61db8ff (diff) | |
download | couchdb-d04038a01d45206b161625a384e21169dbfc2e4e.tar.gz |
Merge pull request #847 from apache/add-remsh
Remove bashisms in remsh script
Also fix bug introduced in refactoring
-rwxr-xr-x | rel/overlay/bin/remsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rel/overlay/bin/remsh b/rel/overlay/bin/remsh index b409ceaa3..963c16a10 100755 --- a/rel/overlay/bin/remsh +++ b/rel/overlay/bin/remsh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of @@ -66,11 +66,11 @@ done shift $((OPTIND - 1)) -if [[ ! -z "$VERBOSE" ]]; then +if [ ! -z "$VERBOSE" ]; then # cheap but it works set -x fi exec "$BINDIR/erl" -boot "$ROOTDIR/releases/$APP_VSN/start_clean" \ - -name remsh$$@$LHOST -remsh $NAME -hidden -setcookie $COOKIE \ + -name remsh$$@$LHOST -remsh $NODE -hidden -setcookie $COOKIE \ "$@" |