Skip to content

Commit

Permalink
Make it possible to run run scripts in nixos (#4913)
Browse files Browse the repository at this point in the history
### Changes

- Use /usr/bin/env to select bash in scripts

###  Issues

#4864
  • Loading branch information
paolino authored Jan 8, 2025
2 parents 81d8245 + db16673 commit c68fad1
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion configs/cardano/mainnet/download.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash

set -euo pipefail

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

set -euo pipefail

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

set -euo pipefail

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

set -euo pipefail

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

set -euo pipefail

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

set -euo pipefail

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

# Enforce strict script execution modes
set -euo pipefail
Expand Down
2 changes: 1 addition & 1 deletion scripts/buildkite/main/attic-cache.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash

set -euox pipefail

Expand Down
2 changes: 1 addition & 1 deletion scripts/buildkite/main/docker-build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash

set -euox pipefail

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/create-wallets.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash

set -euox pipefail

Expand Down

0 comments on commit c68fad1

Please sign in to comment.