提交 86dace91 编写于 作者: P Putta Khunchalee

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

上级 660b3b63
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# set agent specific npm cache # set agent specific npm cache
......
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# setup nvm # setup nvm
......
#!/bin/bash #!/usr/bin/env bash
set -e set -e
./build/tfs/linux/build.sh ia32 "$@" ./build/tfs/linux/build.sh ia32 "$@"
\ No newline at end of file
#!/bin/bash #!/usr/bin/env bash
set -e set -e
./build/tfs/linux/build.sh x64 "$@" ./build/tfs/linux/build.sh x64 "$@"
\ No newline at end of file
#!/bin/bash #!/usr/bin/env bash
. ./build/tfs/common/node.sh . ./build/tfs/common/node.sh
. ./scripts/env.sh . ./scripts/env.sh
......
#!/bin/bash #!/usr/bin/env bash
if [ ! -f pat ]; then if [ ! -f pat ]; then
echo "Error: file pat not found" echo "Error: file pat not found"
......
#!/bin/bash #!/usr/bin/env bash
# #
# /etc/rc.d/init.d/xvfbd # /etc/rc.d/init.d/xvfbd
# #
......
#!/bin/bash #!/usr/bin/env bash
. ./scripts/env.sh . ./scripts/env.sh
. ./build/tfs/common/common.sh . ./build/tfs/common/common.sh
......
#!/bin/bash -e #!/usr/bin/env bash -e
# This is a VERY basic script for Create/Delete operations on repos and packages # This is a VERY basic script for Create/Delete operations on repos and packages
# #
cmd=$1 cmd=$1
......
#!/bin/bash #!/usr/bin/env bash
set -e set -e
. ./build/tfs/common/node.sh . ./build/tfs/common/node.sh
......
#!/bin/bash #!/usr/bin/env bash
if [ ! -f pat ]; then if [ ! -f pat ]; then
echo "Error: file pat not found" echo "Error: file pat not found"
......
#!/bin/bash #!/usr/bin/env bash
# #
# /etc/rc.d/init.d/xvfbd # /etc/rc.d/init.d/xvfbd
# #
......
#!/bin/bash #!/usr/bin/env bash
# #
# Copyright (c) Microsoft Corporation. All rights reserved. # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information. # Licensed under the MIT License. See License.txt in the project root for license information.
......
#!/bin/bash #!/usr/bin/env bash
export npm_config_disturl=https://atom.io/download/electron export npm_config_disturl=https://atom.io/download/electron
export npm_config_target=$(node -p "require('./package.json').electronVersion") export npm_config_target=$(node -p "require('./package.json').electronVersion")
export npm_config_runtime=electron export npm_config_runtime=electron
......
#!/bin/bash #!/usr/bin/env bash
if [[ "$OSTYPE" == "darwin"* ]]; then if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; } realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
......
#!/bin/bash #!/usr/bin/env bash
set -e set -e
if [[ "$OSTYPE" == "darwin"* ]]; then if [[ "$OSTYPE" == "darwin"* ]]; then
......
#!/bin/bash #!/usr/bin/env bash
if [[ "$OSTYPE" == "darwin"* ]]; then if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; } realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
......
#!/bin/bash #!/usr/bin/env bash
if [[ "$OSTYPE" == "darwin"* ]]; then if [[ "$OSTYPE" == "darwin"* ]]; then
......
#!/bin/bash #!/usr/bin/env bash
terminateTree() { terminateTree() {
for cpid in $(/usr/bin/pgrep -P $1); do for cpid in $(/usr/bin/pgrep -P $1); do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册