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")/.."