Skip to content

Commit dcd9cef

Browse files
authored
alt bash path support (#1047)
Signed-off-by: hackacad <[email protected]>
1 parent 7469bf6 commit dcd9cef

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env bash -e
22
<% commands.each {command -> %><%= command %><% } %>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env bash -e
22
<% commands.each {command -> %><%= command %><% } %>

client/sniffer/src/test/resources/create_test_nodes_info.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Recreates the v_nodes_http.json files in this directory. This is
44
# meant to be an "every once in a while" thing that we do only when
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
cd /usr/share/opensearch/bin/
33

44
/usr/local/bin/docker-entrypoint.sh | tee > /usr/share/opensearch/logs/console.log

distribution/docker/src/docker/bin/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
set -e
33

44
# Files created by Elasticsearch should always be group writable too

distribution/packages/src/common/scripts/preinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# This script is executed in the pre-installation phase
44
#

distribution/packages/src/deb/init.d/opensearch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# /etc/init.d/opensearch -- startup script for OpenSearch
44
#

distribution/packages/src/rpm/init.d/opensearch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# opensearch <summary>
44
#

libs/ssl-config/src/test/resources/certs/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# This is README describes how the certificates in this directory were created.
44
# This file can also be executed as a script

plugins/examples/custom-settings/src/main/bin/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Plugin can contain executable files that are copied by the plugin manager
44
# to a <plugin-name>/bin folder.

0 commit comments

Comments
 (0)