Skip to content

Commit

Permalink
Merge pull request moby#3707 from bkcsoft/fix-bash-hashbangs
Browse files Browse the repository at this point in the history
Update bash shebangs to use "/usr/bin/env bash" for increased portability
  • Loading branch information
tianon committed Jan 22, 2014
2 parents cb33f73 + b1953ba commit 572002a
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion contrib/mkimage-arch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Generate a minimal filesystem for archlinux and load it into the local
# docker as "archlinux"
# requires root
Expand Down
2 changes: 1 addition & 1 deletion contrib/mkimage-busybox.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Generate a very minimal filesystem based on busybox-static,
# and load it into the local docker under the name "busybox".

Expand Down
2 changes: 1 addition & 1 deletion contrib/mkimage-debootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

variant='minbase'
Expand Down
2 changes: 1 addition & 1 deletion contrib/mkimage-rinse.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

repo="$1"
Expand Down
2 changes: 1 addition & 1 deletion contrib/mkimage-unittest.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Generate a very minimal filesystem based on busybox-static,
# and load it into the local docker under the name "docker-ut".

Expand Down
2 changes: 1 addition & 1 deletion hack/infrastructure/docker-ci/buildbot/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Setup of buildbot configuration. Package installation is being done by
# Vagrantfile
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -x
# Generate a random string of $1 characters
Expand Down
2 changes: 1 addition & 1 deletion hack/infrastructure/docker-ci/docker-test/test_docker.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -x
COMMIT=${1-HEAD}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Variables AWS_ACCESS_KEY, AWS_SECRET_KEY and PG_PASSPHRASE are decoded
# from /root/release_credentials.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -x

Expand Down
2 changes: 1 addition & 1 deletion hack/make.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

# This script builds various binary artifacts from a checkout of the docker
Expand Down
2 changes: 1 addition & 1 deletion hack/release.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

# This script looks for bundles built by make.sh, and releases them on a
Expand Down
2 changes: 1 addition & 1 deletion hack/stats.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

## Run this script from the root of the docker repository
## to query project stats useful to the maintainers.
Expand Down
2 changes: 1 addition & 1 deletion hack/vendor.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

cd "$(dirname "$BASH_SOURCE")/.."
Expand Down

0 comments on commit 572002a

Please sign in to comment.