Update bundlescripts to use "set -e" consistently

"set -e" is already inherited here from make.sh, but explicit is always better than implicit (hence the "set -e" in the first place!)

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
Tianon Gravi 2014-04-07 22:14:19 -06:00
parent 7c37cae17d
commit b298960aed
9 changed files with 9 additions and 10 deletions

View file

@ -1,4 +1,5 @@
#!/bin/bash
set -e
DEST=$1

View file

@ -1,4 +1,5 @@
#!/bin/bash
set -e
DEST="$1"

View file

@ -1,4 +1,5 @@
#!/bin/bash
set -e
DEST=$1

View file

@ -1,4 +1,5 @@
#!/bin/bash
set -e
DEST=$1

View file

@ -1,10 +1,9 @@
#!/bin/bash
set -e
DEST=$1
INIT=$DEST/../dynbinary/dockerinit-$VERSION
set -e
if [ ! -x "$INIT" ]; then
echo >&2 'error: dynbinary must be run before dyntest'
false

View file

@ -1,10 +1,9 @@
#!/bin/bash
set -e
DEST=$1
INIT=$DEST/../dynbinary/dockerinit-$VERSION
set -e
if [ ! -x "$INIT" ]; then
echo >&2 'error: dynbinary must be run before dyntest-integration'
false

View file

@ -1,9 +1,8 @@
#!/bin/bash
set -e
DEST=$1
set -e
RED=$'\033[31m'
GREEN=$'\033[32m'
TEXTRESET=$'\033[0m' # reset the foreground colour

View file

@ -1,9 +1,8 @@
#!/bin/bash
set -e
DEST=$1
set -e
bundle_test_integration() {
LDFLAGS="$LDFLAGS $LDFLAGS_STATIC_DOCKER" go_test_dir ./integration \
"-coverpkg $(find_dirs '*.go' | sed 's,^\.,github.com/dotcloud/docker,g' | paste -d, -s)"

View file

@ -1,9 +1,8 @@
#!/bin/bash
set -e
DEST=$1
set -e
DOCKER_GRAPHDRIVER=${DOCKER_GRAPHDRIVER:-vfs}
DOCKER_EXECDRIVER=${DOCKER_EXECDRIVER:-native}