Skip to content

Commit 81f22d6

Browse files
authored
Use shells specified in shebangs (#8572)
1 parent ccccfb8 commit 81f22d6

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎bin/publish-packages.sh‎

100644100755
File mode changed.

‎bin/release.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ node bin/update-package-json-for-publish.js
2727

2828
# Publish all modules with Lerna
2929
ls packages/node_modules > release-todo.txt
30-
sh bin/publish-packages.sh
30+
./bin/publish-packages.sh
3131

3232
# Create git tag, which is also the Bower/Github release
3333
rm -fr lib src dist bower.json component.json package.json

‎bin/run-dev.sh‎

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

3-
CLIENT=dev bash bin/run-test.sh
3+
CLIENT=dev ./bin/run-test.sh

‎package.json‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@
66
"private": true,
77
"scripts": {
88
"build": "npm run build-modules && npm run build-test",
9-
"build-node": "bash bin/build-node.sh",
9+
"build-node": "./bin/build-node.sh",
1010
"build-modules": "node bin/build-modules.js",
1111
"test-unit": "mocha tests/unit",
12-
"test-node": "bash bin/test-node.sh",
12+
"test-node": "./bin/test-node.sh",
1313
"test-component": "mocha tests/component",
1414
"test-fuzzy": "TYPE=fuzzy npm run test",
1515
"test-browser": "npm run build-test && node ./bin/test-browser.js",
1616
"test-memleak": "mocha -gc tests/memleak",
1717
"eslint": "eslint --cache bin/ packages/node_modules/**/src tests/",
18-
"dev": "bash bin/run-dev.sh",
18+
"dev": "./bin/run-dev.sh",
1919
"launch-dev-server": "node ./bin/dev-server.js",
20-
"test": "bash bin/run-test.sh",
20+
"test": "./bin/run-test.sh",
2121
"prepublish": "npm run build",
22-
"release": "sh bin/release.sh",
23-
"install-jekyll": "sh bin/install-jekyll.sh",
24-
"publish-site": "sh bin/publish-site.sh",
22+
"release": "./bin/release.sh",
23+
"install-jekyll": "./bin/install-jekyll.sh",
24+
"publish-site": "./bin/publish-site.sh",
2525
"build-site": "node ./bin/build-site.js",
26-
"test-coverage": "bash bin/test-coverage.sh",
27-
"coverage": "COVERAGE=1 SERVER=pouchdb-server POUCHDB_SERVER_FLAGS=--in-memory PLUGINS=pouchdb-find bash bin/test-coverage.sh",
26+
"test-coverage": "./bin/test-coverage.sh",
27+
"coverage": "COVERAGE=1 SERVER=pouchdb-server POUCHDB_SERVER_FLAGS=--in-memory PLUGINS=pouchdb-find ./bin/test-coverage.sh",
2828
"report-coverage": "npm run test-coverage && istanbul-coveralls --no-rm",
2929
"build-test": "npm run build-test-utils && npm run build-perf",
3030
"build-test-utils": "browserify tests/integration/utils.js > tests/integration/utils-bundle.js",
3131
"build-perf": "browserify tests/performance/index.js > tests/performance-bundle.js",
3232
"set-version": "node bin/set-version.js",
33-
"verify-build": "sh bin/verify-build.sh",
34-
"test-webpack": "bash bin/test-webpack.sh"
33+
"verify-build": "./bin/verify-build.sh",
34+
"test-webpack": "./bin/test-webpack.sh"
3535
},
3636
"repository": {
3737
"type": "git",

0 commit comments

Comments
 (0)