mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Change bundle order, and fix shell array expansion.
I believe that it is helpful to build the binary first. That way, if you interrupt the tests, you still get a binary to play with. If you run the tests first and interrupt them, no binary for you! Also, the second part of this commit is an undeniable proof that Bash array syntax is nothing else than an elaborate troll by Bash authors.
This commit is contained in:
parent
8c38c30985
commit
85956c70b5
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ grep -q "$RESOLVCONF" /proc/mounts || {
|
|||
|
||||
# List of bundles to create when no argument is passed
|
||||
DEFAULT_BUNDLES=(
|
||||
test
|
||||
binary
|
||||
test
|
||||
ubuntu
|
||||
)
|
||||
|
||||
|
@ -67,7 +67,7 @@ main() {
|
|||
fi
|
||||
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
if [ $# -lt 1 ]; then
|
||||
bundles=($DEFAULT_BUNDLES)
|
||||
bundles=(${DEFAULT_BUNDLES[@]})
|
||||
else
|
||||
bundles=($@)
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue