From ef6a7631cfa29e5f3819c23b83b8194aacd36476 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Tue, 10 May 2016 15:06:51 -0400 Subject: [PATCH] Switch scripts to use bash This commit switches the command-line scripts to use bash instead of sh so that we can take advantage of features that bash provides like arrays. Relates #18251 --- distribution/src/main/resources/bin/elasticsearch | 2 +- distribution/src/main/resources/bin/elasticsearch-plugin | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/distribution/src/main/resources/bin/elasticsearch b/distribution/src/main/resources/bin/elasticsearch index 0101a108d4b..b41304f70d0 100755 --- a/distribution/src/main/resources/bin/elasticsearch +++ b/distribution/src/main/resources/bin/elasticsearch @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # CONTROLLING STARTUP: # diff --git a/distribution/src/main/resources/bin/elasticsearch-plugin b/distribution/src/main/resources/bin/elasticsearch-plugin index b1ba48d44f1..e609591bc80 100755 --- a/distribution/src/main/resources/bin/elasticsearch-plugin +++ b/distribution/src/main/resources/bin/elasticsearch-plugin @@ -1,5 +1,4 @@ -#!/bin/sh - +#!/bin/bash CDPATH="" SCRIPT="$0"