couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woh...@apache.org
Subject [couchdb] 01/02: Remove bashisms in remsh script
Date Thu, 28 Sep 2017 20:43:49 GMT
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 <joant@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" <commits@couchdb.apache.org>.

Mime
View raw message