Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRakib Fiha <mrahman06@qub.ac.uk>2020-10-30 09:54:13 +0300
committerGitHub <noreply@github.com>2020-10-30 09:54:13 +0300
commit7670c0c79c388868e30bfef3d43a68647905a4cd (patch)
tree86367ba9f5ae22ed66a7a1eb7d69e9c66549ea73 /scripts
parent2d8bbc6976748c4b0c5e84be541674b89b9d91e4 (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-xscripts/generate-definitelytyped.sh2
-rwxr-xr-xscripts/node-electron.sh2
-rwxr-xr-xscripts/npm.sh4
-rwxr-xr-xscripts/test-documentation.sh2
-rwxr-xr-xscripts/test-integration.sh2
-rwxr-xr-xscripts/test.sh4
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#./}"; }