Skip to content

Commit

Permalink
Use /usr/bin/env bash instead of /bin/bash
Browse files Browse the repository at this point in the history
Some systems do not have bash in /bin, e.g., Nix-based setups.
  • Loading branch information
rbonichon committed Oct 30, 2023
1 parent 06d95ed commit 045da22
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion run-ci-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

case $TEST_TYPE in
Expand Down
2 changes: 1 addition & 1 deletion run-integration-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

./run src/examples/zkapps/hello_world/run.ts --bundle
Expand Down
2 changes: 1 addition & 1 deletion run-jest-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
shopt -s globstar # to expand '**' into nested directories

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

node tests/integration/simple-zkapp-mock-apply.js
Expand Down
2 changes: 1 addition & 1 deletion run-minimal-mina-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

./run src/tests/inductive-proofs-small.ts --bundle
2 changes: 1 addition & 1 deletion run-unit-tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
shopt -s globstar # to expand '**' into nested directories./

Expand Down
2 changes: 1 addition & 1 deletion src/mina-signer/build-cjs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

cp index.cjs dist/node/mina-signer/index.cjs
Expand Down
2 changes: 1 addition & 1 deletion src/mina-signer/build-web.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

tsc -p ../../tsconfig.mina-signer-web.json
Expand Down

0 comments on commit 045da22

Please sign in to comment.