Skip to content

Commit

Permalink
Changed shebang same as code.sh (#109372)
Browse files Browse the repository at this point in the history
* Changed shebang same as code.sh

* Added set -e in test.sh
  • Loading branch information
RakibFiha authored Oct 30, 2020
1 parent 2d8bbc6 commit 7670c0c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scripts/generate-definitelytyped.sh
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
2 changes: 1 addition & 1 deletion scripts/node-electron.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
Expand Down
4 changes: 2 additions & 2 deletions scripts/npm.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash

yarn $*
yarn $*
2 changes: 1 addition & 1 deletion scripts/test-documentation.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

if [[ "$OSTYPE" == "darwin"* ]]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-integration.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

if [[ "$OSTYPE" == "darwin"* ]]; then
Expand Down
4 changes: 2 additions & 2 deletions scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

#!/usr/bin/env bash
set -e

if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
Expand Down

0 comments on commit 7670c0c

Please sign in to comment.