Don't limit to files (allow symlinks)

This commit is contained in:
Joshua M. Boniface 2020-03-23 15:40:51 -04:00
parent f72c5b7a1d
commit 9ce2af2a6c

View File

@ -24,7 +24,7 @@ usage() {
list_platforms() {
declare -a platforms
platforms=(
$( find deployment -maxdepth 1 -mindepth 1 -type f -name "build.*" | awk -F'.' '{ $1=""; print $2 "." $3 }' )
$( find deployment -maxdepth 1 -mindepth 1 -name "build.*" | awk -F'.' '{ $1=""; print $2 "." $3 }' | sort )
)
echo -e "Valid platforms:"
echo