Skip to content

Commit

Permalink
Switch to portable bash shebang (#1876)
Browse files Browse the repository at this point in the history
Search the path for `bash` vs expecting it at `/bin`.
  • Loading branch information
skeet70 authored Dec 1, 2023
1 parent 23711c8 commit 074270a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docker/cargo-docker.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Key points for these cmd-line args:
# * run a transient image that deletes itself on successful completion
Expand Down
2 changes: 1 addition & 1 deletion fixtures/version-mismatch/kotlin-contract-mismatch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion fixtures/version-mismatch/kotlin-macro-mismatch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion fixtures/version-mismatch/kotlin-udl-mismatch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion fixtures/version-mismatch/python-contract-mismatch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion fixtures/version-mismatch/python-macro-mismatch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion fixtures/version-mismatch/python-udl-mismatch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion fixtures/version-mismatch/swift-contract-mismatch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion fixtures/version-mismatch/swift-macro-mismatch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion fixtures/version-mismatch/swift-udl-mismatch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down

0 comments on commit 074270a

Please sign in to comment.