alt bash path support (#1047)

Signed-off-by: hackacad <admin@hackacad.net>
This commit is contained in:
Sven R 2021-08-06 17:09:29 +02:00 committed by GitHub
parent 7469bf6e26
commit dcd9cef56c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 15 additions and 15 deletions

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Recreates the v_nodes_http.json files in this directory. This is # Recreates the v_nodes_http.json files in this directory. This is
# meant to be an "every once in a while" thing that we do only when # meant to be an "every once in a while" thing that we do only when

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
cd /usr/share/opensearch/bin/ cd /usr/share/opensearch/bin/
/usr/local/bin/docker-entrypoint.sh | tee > /usr/share/opensearch/logs/console.log /usr/local/bin/docker-entrypoint.sh | tee > /usr/share/opensearch/logs/console.log

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# Files created by Elasticsearch should always be group writable too # Files created by Elasticsearch should always be group writable too

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# This script is executed in the pre-installation phase # This script is executed in the pre-installation phase
# #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# /etc/init.d/opensearch -- startup script for OpenSearch # /etc/init.d/opensearch -- startup script for OpenSearch
# #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# opensearch <summary> # opensearch <summary>
# #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# This is README describes how the certificates in this directory were created. # This is README describes how the certificates in this directory were created.
# This file can also be executed as a script # This file can also be executed as a script

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Plugin can contain executable files that are copied by the plugin manager # Plugin can contain executable files that are copied by the plugin manager
# to a <plugin-name>/bin folder. # to a <plugin-name>/bin folder.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
cd /usr/share/opensearch/bin/ cd /usr/share/opensearch/bin/
./opensearch-users useradd rest_user -p test-password -r superuser || true ./opensearch-users useradd rest_user -p test-password -r superuser || true
echo "testnode" > /tmp/password echo "testnode" > /tmp/password

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Licensed to Elasticsearch under one or more contributor # Licensed to Elasticsearch under one or more contributor
# license agreements. See the NOTICE file distributed with # license agreements. See the NOTICE file distributed with

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e