Better approach to establishing variants

This commit is contained in:
Christopher Horrell 2016-09-29 09:35:47 -04:00
parent 54ee1265cd
commit 1b99bb91e8
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ for version in "${versions[@]}"; do
info "Test of $tag succeeded."
fi
variants=$(ls -d $version/*/ | awk -F"/" '{print $2}')
variants=$(echo $version/*/ | xargs -n1 basename)
for variant in $variants; do
# Skip non-docker directories