Fix "build-and-push.sh"

This commit is contained in:
Tianon Gravi 2017-06-14 14:51:57 -07:00
parent c091eab27c
commit 4d4bd7917a
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ fi
# normalize "$@" to be the "--uniq" versions (and deduplicate)
# also grab the list of associated repos in explicit build order (so we can build/push grouped by repo)
IFS=$'\n'
set -- $("$BASHBREW" list --uniq --repos "$@" | sort -u | xargs "$BASHBREW" list --uniq --repos --build-order)
repos=( $(echo "$*" | cut -d: -f1 | xargs "$BASHBREW" list --repos --build-order) )
set -- $("$BASHBREW" list --uniq --repos "$@" | sort -u | xargs "$BASHBREW" list --uniq --repos --build-order --apply-constraints)
repos=( $(echo "$*" | cut -d: -f1 | xargs "$BASHBREW" list --repos --build-order --apply-constraints) )
unset IFS
declare -A repoTags=()