From 06cb9d01622684f564d06e43c45c57132b7d2f09 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Thu, 27 Oct 2016 15:10:22 +0200 Subject: [PATCH] KARAF-4806: specify /bin/bash for scripts with bashisms The client, instance and shell scripts use ulimit and type, but these are bashisms. In some environments (e.g. Solaris, Debian) /bin/sh isn't bash. Signed-off-by: Stephen Kitt (cherry picked from commit 9e72b9357d20de866abce7391cdc41ba616f3a75) --- .../base/src/main/filtered-resources/resources/bin/client | 2 +- .../base/src/main/filtered-resources/resources/bin/instance | 2 +- .../base/src/main/filtered-resources/resources/bin/shell | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/client b/assemblies/features/base/src/main/filtered-resources/resources/bin/client index 1012fcc7be2..47eaa17f80b 100755 --- a/assemblies/features/base/src/main/filtered-resources/resources/bin/client +++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/client @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/instance b/assemblies/features/base/src/main/filtered-resources/resources/bin/instance index e26668b73d4..83af84e5276 100755 --- a/assemblies/features/base/src/main/filtered-resources/resources/bin/instance +++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/instance @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/shell b/assemblies/features/base/src/main/filtered-resources/resources/bin/shell index cbdbfc33c43..bbfed8d1292 100755 --- a/assemblies/features/base/src/main/filtered-resources/resources/bin/shell +++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/shell @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with