replace bash shebang with '#!/usr/bin/env bash" for portability

This commit is contained in:
Putta Khunchalee 2017-09-17 21:18:54 +07:00
parent 660b3b6362
commit 86dace91a2
19 changed files with 19 additions and 19 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# set agent specific npm cache

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# setup nvm

View file

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
./build/tfs/linux/build.sh ia32 "$@"

View file

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
./build/tfs/linux/build.sh x64 "$@"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
. ./build/tfs/common/node.sh
. ./scripts/env.sh

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ ! -f pat ]; then
echo "Error: file pat not found"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# /etc/rc.d/init.d/xvfbd
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
. ./scripts/env.sh
. ./build/tfs/common/common.sh

View file

@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash -e
# This is a VERY basic script for Create/Delete operations on repos and packages
#
cmd=$1

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
. ./build/tfs/common/node.sh

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ ! -f pat ]; then
echo "Error: file pat not found"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# /etc/rc.d/init.d/xvfbd
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export npm_config_disturl=https://atom.io/download/electron
export npm_config_target=$(node -p "require('./package.json').electronVersion")
export npm_config_runtime=electron

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
if [[ "$OSTYPE" == "darwin"* ]]; then

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ "$OSTYPE" == "darwin"* ]]; then

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
terminateTree() {
for cpid in $(/usr/bin/pgrep -P $1); do