Skip to content

Commit fa72f86

Browse files
committed
Use #!/bin/bash
1 parent 02b8550 commit fa72f86

10 files changed

+11
-10
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ jobs:
1010
uses: apple/swift-nio/.github/workflows/reusable_pull_request.yml@main
1111
with:
1212
benchmarks_linux_enabled: false
13+
unacceptable_language_check_enabled: false
1314
license_header_check_project_name: "SwiftOpenAPIGenerator"

scripts/check-for-broken-symlinks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the SwiftOpenAPIGenerator open source project

scripts/check-for-docc-warnings.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the SwiftOpenAPIGenerator open source project

scripts/check-for-unacceptable-language.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the SwiftOpenAPIGenerator open source project

scripts/check-license-headers.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the SwiftOpenAPIGenerator open source project
@@ -87,7 +87,7 @@ for FILE_PATH in "${PATHS_TO_CHECK_FOR_LICENSE[@]}"; do
8787
case "${FILE_EXTENSION}" in
8888
swift) EXPECTED_FILE_HEADER=$(sed -e 's|@@|//|g' <<<"${EXPECTED_FILE_HEADER_TEMPLATE}") ;;
8989
yml) EXPECTED_FILE_HEADER=$(sed -e 's|@@|##|g' <<<"${EXPECTED_FILE_HEADER_TEMPLATE}") ;;
90-
sh) EXPECTED_FILE_HEADER=$(cat <(echo '#!/usr/bin/env bash') <(sed -e 's|@@|##|g' <<<"${EXPECTED_FILE_HEADER_TEMPLATE}")) ;;
90+
sh) EXPECTED_FILE_HEADER=$(cat <(echo '#!/bin/bash') <(sed -e 's|@@|##|g' <<<"${EXPECTED_FILE_HEADER_TEMPLATE}")) ;;
9191
*) fatal "Unsupported file extension for file (exclude or update this script): ${FILE_PATH}" ;;
9292
esac
9393
EXPECTED_FILE_HEADER_LINECOUNT=$(wc -l <<<"${EXPECTED_FILE_HEADER}")

scripts/generate-contributors-list.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the SwiftOpenAPIGenerator open source project

scripts/run-integration-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the SwiftOpenAPIGenerator open source project

scripts/run-swift-format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the SwiftOpenAPIGenerator open source project

scripts/soundness.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the SwiftOpenAPIGenerator open source project

scripts/test-examples.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the SwiftOpenAPIGenerator open source project

0 commit comments

Comments
 (0)