Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash: use less opionated shebang #1860

Merged
merged 2 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/check_creations.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

KEY_ENCODED=$1
SCRIPT=$(realpath "$0")
Expand Down
2 changes: 1 addition & 1 deletion examples/delay_check.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

ping -q -c 2 8.8.8.8 | tail -1 | awk -F "/" '{print $5}'
ping -q -c 2 8.8.8.8 | tail -1 | awk -F "/" '{print $5}'
Expand Down
3 changes: 2 additions & 1 deletion javascript/packages/orchestrator/zombie-wrapper.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -uxo pipefail

if [ -f /cfg/coreutils ]; then
Expand All @@ -17,6 +17,7 @@ else
LS="ls"
KILL="kill"
SLEEP="sleep"
ECHO="echo"
CAT="cat"
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/run-test-env-manager.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Based on https://gitlab.parity.io/parity/simnet/-/blob/master/scripts/ci/run-test-environment-manager-v2.sh

Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/run-test-local-env-manager.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Based on https://gitlab.parity.io/parity/simnet/-/blob/master/scripts/ci/run-test-environment-manager-v2.sh

Expand Down
2 changes: 1 addition & 1 deletion tests/chaos/delay_check.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

POD=$1
PORT=$2 # 9615 for prometheus
Expand Down
2 changes: 1 addition & 1 deletion tests/k8s/downloadPolkadot.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -euxo pipefail

Expand Down
Loading