diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-03-23 17:54:17 -0400 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2020-03-23 17:54:17 -0400 |
| commit | cf6dc609b72fd9b388c987ae38c0a8bf95168d15 (patch) | |
| tree | f6fa445b3727396c62e97be56f0482e6311539a0 /build.sh | |
| parent | 6028bc0f7915a09caea881462008561424a15829 (diff) | |
Fix up single-segment platform names
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ usage() { list_platforms() { declare -a platforms platforms=( - $( find deployment -maxdepth 1 -mindepth 1 -name "build.*" | awk -F'.' '{ $1=""; print $2 "." $3 }' | sort ) + $( find deployment -maxdepth 1 -mindepth 1 -name "build.*" | awk -F'.' '{ $1=""; printf $2; if ($3 != ""){ printf "." $3; } print ""; }' | sort ) ) echo -e "Valid platforms:" echo |
