Skip to content

Commit bb10785

Browse files
committed
fix: use universally portable shebang
1 parent 0297c6a commit bb10785

15 files changed

+15
-15
lines changed

bin/build-node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env -S bash -e
22

33
# don't bother doing this in GHA because it's already been built
44
if [ -z "$GITHUB_REPOSITORY" ]; then

bin/install-jekyll.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env -S bash -e
22

33
if ! command -v bundler >/dev/null 2>&1; then
44
echo "bundler is not installed. You need to do: gem install bundler"

bin/publish-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env -S bash -e
22

33
publish_packages () {
44
local root_dir="$PWD"

bin/publish-site.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env -S bash -e
22

33
# Build the website
44
BUILD=1 npm run build-site

bin/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env -S bash -e
22

33
if [ -n "$DRY_RUN" ]; then
44
echo "Doing a dry run release..."

bin/repeat-perf-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -eu
1+
#!/usr/bin/env -S bash -eu
22

33
scriptName="$(basename "$0")"
44
log() { echo "[$scriptName] $*"; }

bin/run-dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env -S bash -e
22

33
node ./bin/build-pouchdb.js
44
npm run build-test

bin/run-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env -S bash -e
22
shopt -s nullglob
33

44
cleanup() {

bin/test-coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env -S bash -e
22

33
COVERAGE=1 npm test

bin/test-node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env -S bash -e
22

33
: "${TIMEOUT:=5000}"
44
: "${REPORTER:="spec"}"

0 commit comments

Comments
 (0)