Merge pull request #30983 from tianon/usr-bin-env-bash

Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"
This commit is contained in:
Vincent Demeester 2017-02-13 20:48:05 +01:00 committed by GitHub
commit 4163b5cbd5
88 changed files with 88 additions and 88 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This file is used to auto-generate Dockerfiles for making debs via 'make deb'

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# usage: ./generate.sh [versions]

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# usage: ./generate.sh [versions]

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This file is used to auto-generate Dockerfiles for making debs via 'make deb'

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This file is used to auto-generate Dockerfiles for making debs via 'make deb'

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# usage: ./generate.sh [versions]

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# vim: set ts=4 sw=4 noet :
set -e

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# usage: ./generate.sh [versions]

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# bash completion file for core docker commands
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# This script installs the bundle to Docker Machine instances, for the purpose
# of testing the latest Docker with Swarm mode enabled.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# hello-world latest ef872312fe1b 3 months ago 910 B

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
# hello-world latest ef872312fe1b 3 months ago 910 B

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# This script generates a gitdm compatible email aliases file from a git

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
dir="$1"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
cd "$(dirname "$BASH_SOURCE")/../.."

View file

@ -1029,7 +1029,7 @@ the final executable receives the Unix signals by using `exec` and `gosu`
commands:
```bash
#!/bin/bash
#!/usr/bin/env bash
set -e
if [ "$1" = 'postgres' ]; then

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# DinD: a wrapper script which allows docker to be run inside a docker container.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")/.."

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
BINARY_NAME="$BINARY_SHORT_NAME-$VERSION"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
DOCKER_CLIENT_BINARY_NAME='docker'
DOCKER_DAEMON_BINARY_NAME='dockerd'

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
docker-version-osarch() {

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
if ! docker inspect -t image emptyfs &> /dev/null; then

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
rm -rf autogen

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
bundle .detect-daemon-osarch

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# see test-integration-cli for example usage of this script

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ ! "$(go env GOOS)" = 'windows' ]; then
trap - EXIT # reset EXIT trap applied in .integration-daemon-start

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
: ${TEST_REPEAT:=0}

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
rm -rf "$DEST"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
[ -z "$KEEPDEST" ] && \

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
[ -z "$KEEPDEST" ] && \

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# subshell so that we can export PATH and TZ without breaking other things

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
rm -rf "$DEST"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# subshell so that we can export PATH and TZ without breaking other things

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This script cleans the experimental pool for the apt repo.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This script cleans the experimental pool for the yum repo.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
bundle_cover() {

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# explicit list of os/arch combos that support being a daemon

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This script exists as backwards compatibility for CI

View file

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

View file

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

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This script generates index files for the directory structure

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
rm -rf "$DEST"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
rm -rf "$DEST"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
rm -rf "$DEST"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This script modifies the install.sh script for domains and keys other than

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This script creates the apt repos for the .deb files generated by hack/make/build-deb

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This script creates the yum repos for the .rpm files generated by hack/make/build-rpm

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
rm -rf "$DEST"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This script signs the deliverables from release-deb and release-rpm
# with a designated GPG key.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This script is used for testing install.sh and that it works for
# each of component of our apt and yum repos
set -e

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
source hack/make/.integration-test-helpers

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This script is used for testing install.sh and that it works for
# each of component of our apt and yum repos
set -e

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
source hack/make/.integration-test-helpers

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
bundle .integration-daemon-start
bundle .integration-daemon-setup

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
versions=( 1.3.3 1.4.1 1.5.0 1.6.2 )

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# Run Docker's test suite, including sub-packages, and store their output as a bundle

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
CROSS="$DEST/../cross"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
PKGVERSION="${VERSION//-/'~'}"
# if we have a "-dev" suffix or have change in Git, let's make this package version more complex so it works better

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# This script updates the apt repo in $DOCKER_RELEASE_DIR/apt/repo.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# explicit list of os/arch combos that support being a daemon

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e -o pipefail

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Run all validation

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
changelogFile=${1:-CHANGELOG.md}

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
changelogFile=${1:-CHANGELOG.md}

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Run default validation, exclude vendor because it's slow

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Make sure we're not using gos' Testing package any more in integration-cli
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPTDIR}/.validate"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This file is just wrapper around vndr (github.com/LK4D4/vndr) tool.
# For updating dependencies you should change `vendor.conf` file in root of the

View file

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

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Generate man pages for docker/docker
#

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# get into this script's directory