Skip to content

Commit

Permalink
alt bash path support (#1013)
Browse files Browse the repository at this point in the history
Signed-off-by: hackacad <[email protected]>
  • Loading branch information
hackacad authored Aug 3, 2021
1 parent 1a87534 commit 0fd14e8
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion distribution/src/bin/opensearch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# CONTROLLING STARTUP:
#
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/bin/opensearch-cli
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e -o pipefail

Expand Down
2 changes: 1 addition & 1 deletion distribution/src/bin/opensearch-env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e -o pipefail

Expand Down
2 changes: 1 addition & 1 deletion distribution/src/bin/opensearch-env-from-file
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e -o pipefail

Expand Down
2 changes: 1 addition & 1 deletion distribution/src/bin/opensearch-keystore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

OPENSEARCH_MAIN_CLASS=org.opensearch.common.settings.KeyStoreCli \
OPENSEARCH_ADDITIONAL_CLASSPATH_DIRECTORIES=lib/tools/keystore-cli \
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/bin/opensearch-node
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

OPENSEARCH_MAIN_CLASS=org.opensearch.cluster.coordination.NodeToolCli \
"`dirname "$0"`"/opensearch-cli \
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/bin/opensearch-plugin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

OPENSEARCH_MAIN_CLASS=org.opensearch.plugins.PluginCli \
OPENSEARCH_ADDITIONAL_CLASSPATH_DIRECTORIES=lib/tools/plugin-cli \
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/bin/opensearch-shard
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

OPENSEARCH_MAIN_CLASS=org.opensearch.index.shard.ShardToolCli \
"`dirname "$0"`"/opensearch-cli \
Expand Down
2 changes: 1 addition & 1 deletion distribution/src/bin/opensearch-upgrade
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

OPENSEARCH_MAIN_CLASS=org.opensearch.upgrade.UpgradeCli \
OPENSEARCH_ADDITIONAL_CLASSPATH_DIRECTORIES=lib/tools/upgrade-cli \
Expand Down

0 comments on commit 0fd14e8

Please sign in to comment.