package: Allow force building of multiple plugins at once

Travis doesn't let you pass spaces to env vars in the custom build ui
This commit is contained in:
Max Weber
2020-02-23 01:20:42 -07:00
parent 181461ae66
commit bf5ee78b05

View File

@@ -34,9 +34,10 @@ if [[ "$FORCE_BUILD" == "ALL" ]]; then
./rebuild_all.sh
exit
elif [[ -n "${FORCE_BUILD+x}" ]]; then
for FI in "${FORCE_BUILD[@]}"; do
./build_plugin.sh "plugins/$FORCE_BUILD"
for FI in $(echo "$FORCE_BUILD" | tr ',' '\n'); do
./build_plugin.sh "plugins/$FI"
done
./build_manifest.sh
exit
fi