Skip to content

Commit

Permalink
Use #!/usr/bin/env bash in test scripts
Browse files Browse the repository at this point in the history
This uses the path supplied `bash`, and will also allow the scripts to
run on NixOS where `/usr/bin/env` is shimmed for compatibility but
`/bin/bash` can't be relied on.
  • Loading branch information
DanGould committed Nov 11, 2024
1 parent 2da1be5 commit bf99e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/lint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

cargo clippy --all-targets --keep-going --features=send,receive -- -D warnings
Expand Down

0 comments on commit bf99e84

Please sign in to comment.