The Free Software Media System - Server Backend & API
Handle single- or triple-part platform names
Joshua M. Boniface8e0a33c1aada
diff --git a/build.sh b/build.shindex 8256f9ea31..86c8447933 100755--- a/build.sh+++ b/build.sh@@ -24,7 +24,7 @@ usage() {list_platforms() {declare -a platformsplatforms=(- $( find deployment -maxdepth 1 -mindepth 1 -name "build.*" | awk -F'.' '{ $1=""; printf $2; if ($3 != ""){ printf "." $3; } print ""; }' | sort )+ $( find deployment -maxdepth 1 -mindepth 1 -name "build.*" | awk -F'.' '{ $1=""; printf $2; if ($3 != ""){ printf "." $3; }; if ($4 != ""){ printf "." $4; }; print ""; }' | sort ))echo -e "Valid platforms:"echo