diff options
author | Rakib Fiha <mrahman06@qub.ac.uk> | 2020-10-30 09:54:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 09:54:13 +0300 |
commit | 7670c0c79c388868e30bfef3d43a68647905a4cd (patch) | |
tree | 86367ba9f5ae22ed66a7a1eb7d69e9c66549ea73 /scripts | |
parent | 2d8bbc6976748c4b0c5e84be541674b89b9d91e4 (diff) |
Changed shebang same as code.sh (#109372)
* Changed shebang same as code.sh
* Added set -e in test.sh
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/generate-definitelytyped.sh | 2 | ||||
-rwxr-xr-x | scripts/node-electron.sh | 2 | ||||
-rwxr-xr-x | scripts/npm.sh | 4 | ||||
-rwxr-xr-x | scripts/test-documentation.sh | 2 | ||||
-rwxr-xr-x | scripts/test-integration.sh | 2 | ||||
-rwxr-xr-x | scripts/test.sh | 4 |
6 files changed, 8 insertions, 8 deletions
diff --git a/scripts/generate-definitelytyped.sh b/scripts/generate-definitelytyped.sh index c3de7a8576c..118401b43cb 100755 --- a/scripts/generate-definitelytyped.sh +++ b/scripts/generate-definitelytyped.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ $# -eq 0 ]; then echo "Pass in a version like ./scripts/generate-vscode-dts.sh 1.30." diff --git a/scripts/node-electron.sh b/scripts/node-electron.sh index 1c3d894a1d1..0a822b6c383 100755 --- a/scripts/node-electron.sh +++ b/scripts/node-electron.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [[ "$OSTYPE" == "darwin"* ]]; then realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; } diff --git a/scripts/npm.sh b/scripts/npm.sh index 93562dd24d6..30f11cfdcdf 100755 --- a/scripts/npm.sh +++ b/scripts/npm.sh @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash -yarn $*
\ No newline at end of file +yarn $* diff --git a/scripts/test-documentation.sh b/scripts/test-documentation.sh index 54a0672945a..6595e6d2240 100755 --- a/scripts/test-documentation.sh +++ b/scripts/test-documentation.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e if [[ "$OSTYPE" == "darwin"* ]]; then diff --git a/scripts/test-integration.sh b/scripts/test-integration.sh index 6856ebd525f..b302ce28db9 100755 --- a/scripts/test-integration.sh +++ b/scripts/test-integration.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e if [[ "$OSTYPE" == "darwin"* ]]; then diff --git a/scripts/test.sh b/scripts/test.sh index 651cffb88f5..0744c096e54 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,5 +1,5 @@ -#!/bin/bash - +#!/usr/bin/env bash +set -e if [[ "$OSTYPE" == "darwin"* ]]; then realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; } |