Browse Source

Remove last vestigates of /bin/sh shebangs

This commit removes the remaining /bin/sh shebangs in favor of
/bin/bash.

Relates #18448
Jason Tedor 9 years ago
parent
commit
db4809d906

+ 1 - 1
buildSrc/src/main/resources/deb/postinst.ftl

@@ -1,2 +1,2 @@
-#!/bin/sh -e
+#!/bin/bash -e
 <% commands.each {command -> %><%= command %><% } %>

+ 1 - 1
buildSrc/src/main/resources/deb/preinst.ftl

@@ -1,2 +1,2 @@
-#!/bin/sh -e
+#!/bin/bash -e
 <% commands.each {command -> %><%= command %><% } %>

+ 1 - 1
distribution/src/main/resources/bin/elasticsearch-systemd-pre-exec

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # CONF_FILE setting was removed
 if [ ! -z "$CONF_FILE" ]; then

+ 1 - 1
distribution/src/main/resources/bin/elasticsearch.in.sh

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # check in case a user was using this mechanism
 if [ "x$ES_CLASSPATH" != "x" ]; then

+ 1 - 1
plugins/jvm-example/src/main/bin/test

@@ -1,3 +1,3 @@
-#!/bin/sh
+#!/bin/bash
 
 echo test

+ 1 - 1
qa/vagrant/src/test/resources/packaging/scripts/modules.bash

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # This file contains some utilities to test the elasticsearch scripts,
 # the .deb/.rpm packages and the SysV/Systemd scripts.

+ 1 - 1
qa/vagrant/src/test/resources/packaging/scripts/os_package.bash

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # This file contains some utilities to test the elasticsearch scripts with
 # the .deb/.rpm packages.

+ 1 - 1
qa/vagrant/src/test/resources/packaging/scripts/packaging_test_utils.bash

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # This file contains some utilities to test the elasticsearch scripts,
 # the .deb/.rpm packages and the SysV/Systemd scripts.

+ 1 - 1
qa/vagrant/src/test/resources/packaging/scripts/plugins.bash

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # This file contains some utilities to test the elasticsearch scripts,
 # the .deb/.rpm packages and the SysV/Systemd scripts.

+ 1 - 1
qa/vagrant/src/test/resources/packaging/scripts/tar.bash

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # This file contains some utilities to test the elasticsearch scripts,
 # the .deb/.rpm packages and the SysV/Systemd scripts.