Skip to content

Commit

Permalink
Better approach to establishing variants
Browse files Browse the repository at this point in the history
  • Loading branch information
chorrell committed Sep 29, 2016
1 parent 54ee126 commit 1b99bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-build.sh
Expand Up @@ -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
Expand Down

0 comments on commit 1b99bb9

Please sign in to comment.