Browse code

Merge pull request #3707 from bkcsoft/fix-bash-hashbangs

Update bash shebangs to use "/usr/bin/env bash" for increased portability

Tianon Gravi authored on 2014/01/22 10:30:52
Showing 14 changed files
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 # Generate a minimal filesystem for archlinux and load it into the local
3 3
 # docker as "archlinux"
4 4
 # requires root
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 # Generate a very minimal filesystem based on busybox-static,
3 3
 # and load it into the local docker under the name "busybox".
4 4
 
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 set -e
3 3
 
4 4
 variant='minbase'
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 set -e
3 3
 
4 4
 repo="$1"
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 # Generate a very minimal filesystem based on busybox-static,
3 3
 # and load it into the local docker under the name "docker-ut".
4 4
 
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 # Setup of buildbot configuration. Package installation is being done by
4 4
 # Vagrantfile
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 set -x
4 4
 # Generate a random string of $1 characters
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 set -x
4 4
 COMMIT=${1-HEAD}
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 # Variables AWS_ACCESS_KEY, AWS_SECRET_KEY and PG_PASSPHRASE are decoded
4 4
 # from /root/release_credentials.json
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 set -x
4 4
 
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 set -e
3 3
 
4 4
 # This script builds various binary artifacts from a checkout of the docker
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 set -e
3 3
 
4 4
 # This script looks for bundles built by make.sh, and releases them on a
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 
3 3
 ## Run this script from the root of the docker repository
4 4
 ## to query project stats useful to the maintainers.
... ...
@@ -1,4 +1,4 @@
1
-#!/bin/bash
1
+#!/usr/bin/env bash
2 2
 set -e
3 3
 
4 4
 cd "$(dirname "$BASH_SOURCE")/.."