This should make all bash-scripts run on pretty much any posix-system (with bash installed ofc...)

Docker-DCO-1.1-Signed-off-by: Kim BKC Carlbacker <kim.carlbacker@gmail.com> (github: bkcsoft)
This commit is contained in:
Kim BKC Carlbacker 2014-01-22 02:21:56 +01:00
parent a60f0a0754
commit b1953baba2
14 changed files with 14 additions and 14 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Generate a minimal filesystem for archlinux and load it into the local # Generate a minimal filesystem for archlinux and load it into the local
# docker as "archlinux" # docker as "archlinux"
# requires root # requires root

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Generate a very minimal filesystem based on busybox-static, # Generate a very minimal filesystem based on busybox-static,
# and load it into the local docker under the name "busybox". # and load it into the local docker under the name "busybox".

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
variant='minbase' variant='minbase'

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Generate a very minimal filesystem based on busybox-static, # Generate a very minimal filesystem based on busybox-static,
# and load it into the local docker under the name "docker-ut". # and load it into the local docker under the name "docker-ut".

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Setup of buildbot configuration. Package installation is being done by # Setup of buildbot configuration. Package installation is being done by
# Vagrantfile # Vagrantfile

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -x set -x
# Generate a random string of $1 characters # Generate a random string of $1 characters

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -x set -x
COMMIT=${1-HEAD} COMMIT=${1-HEAD}

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Variables AWS_ACCESS_KEY, AWS_SECRET_KEY and PG_PASSPHRASE are decoded # Variables AWS_ACCESS_KEY, AWS_SECRET_KEY and PG_PASSPHRASE are decoded
# from /root/release_credentials.json # from /root/release_credentials.json

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# This script builds various binary artifacts from a checkout of the docker # This script builds various binary artifacts from a checkout of the docker

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# This script looks for bundles built by make.sh, and releases them on a # This script looks for bundles built by make.sh, and releases them on a

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
## Run this script from the root of the docker repository ## Run this script from the root of the docker repository
## to query project stats useful to the maintainers. ## to query project stats useful to the maintainers.

View File

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