From f6f03172f11cec5c55178c47be3278515d831736 Mon Sep 17 00:00:00 2001 From: Amnon Heiman Date: Mon, 29 Jan 2018 15:16:02 +0200 Subject: [PATCH] scylla-jmx: Uses bash explicitly as the interpreter ubuntu 14 default shell does not respect the string substituation and return an error when using -Dcom.sun.management.jmxremote.host flag with scyll-jmx. For example: $ scyll-jmx -Dcom.sun.management.jmxremote.host=10.0.0.1 /usr/lib/scylla/jmx/scylla-jmx: 101: /usr/lib/scylla/jmx/scylla-jmx: Bad substitution This patch change the shell interpreter to bash, instead of the default shell. Fixes #49 Signed-off-by: Amnon Heiman Message-Id: <20180129131602.7380-1-amnon@scylladb.com> --- scripts/scylla-jmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/scylla-jmx b/scripts/scylla-jmx index 692bb39..656e341 100755 --- a/scripts/scylla-jmx +++ b/scripts/scylla-jmx @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2015 Cloudius Systems, Ltd.