You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/09/28 20:43:49 UTC

[couchdb] 01/02: Remove bashisms in remsh script

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch add-remsh
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 3e6432c046b6d95968d46dbe88ea886959672612
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Thu Sep 28 13:58:33 2017 -0400

    Remove bashisms in remsh script
---
 rel/overlay/bin/remsh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rel/overlay/bin/remsh b/rel/overlay/bin/remsh
index b409cea..1c24761 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,7 +66,7 @@ done
 
 shift $((OPTIND - 1))
 
-if [[ ! -z "$VERBOSE" ]]; then
+if [ ! -z "$VERBOSE" ]; then
   # cheap but it works
   set -x
 fi

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.