The Free Software Media System - Server Backend & API
Bashify all variable references
Joshua Boniface4f14b479bb04
diff --git a/build b/buildindex 98f2e622a4..fc021397cc 100755--- a/build+++ b/build@@ -50,7 +50,7 @@ fiif [[ $1 == '--list-actions' ]]; thenplatform="$2"if [[ ! " ${platforms[@]} " =~ " ${platform} " ]]; then- echo "ERROR: Platform $platform does not exist."+ echo "ERROR: Platform ${platform} does not exist."exit 1fiecho -e "Available actions for platform ${platform}:"@@ -78,11 +78,11 @@ elseecho "ERROR: A platform must be specified. Use 'all' to specify all platforms."exit 1fi-if [[ $cli_platform == 'all' ]]; then+if [[ ${cli_platform} == 'all' ]]; thendeclare -a platform=( ${platforms[@]} )elseif [[ ! " ${platforms[@]} " =~ " ${cli_platform} " ]]; then- echo "ERROR: Platform $cli_platform is invalid. Use the '--list-platforms' option to list available platforms."+ echo "ERROR: Platform ${cli_platform} is invalid. Use the '--list-platforms' option to list available platforms."exit 1elsedeclare -a platform=( "${cli_platform}" )@@ -97,11 +97,11 @@ elseecho "ERROR: An action must be specified. Use 'all' to specify all actions."exit 1fi-if [[ $cli_action == 'all' ]]; then+if [[ ${cli_action} == 'all' ]]; thendeclare -a action=( ${actions[@]} )elseif [[ ! " ${actions[@]} " =~ " ${cli_action} " ]]; then- echo "ERROR: Action $cli_action is invalid. Use the '--list-actions <platform>' option to list available actions."+ echo "ERROR: Action ${cli_action} is invalid. Use the '--list-actions <platform>' option to list available actions."exit 1elsedeclare -a action=( "${cli_action}" )