fix updater.sh when dealing with multiple overrides

This commit is contained in:
Matt Loberg 2020-05-24 21:03:17 -05:00
parent 868882ae33
commit 917e32b86b
No known key found for this signature in database
GPG Key ID: A0584195D1D84C28

View File

@ -313,8 +313,10 @@ update_userjs () {
# apply overrides
if [ "$SKIPOVERRIDE" = false ]; then
while IFS=',' read -ra FILE; do
add_override "$FILE"
while IFS=',' read -ra FILES; do
for FILE in "${FILES[@]}"; do
add_override "$FILE"
done
done <<< "$OVERRIDE"
fi