mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-01 22:43:38 +02:00
fix updater.sh when dealing with multiple overrides
This commit is contained in:
parent
868882ae33
commit
917e32b86b
1 changed files with 4 additions and 2 deletions
|
@ -313,8 +313,10 @@ update_userjs () {
|
||||||
|
|
||||||
# apply overrides
|
# apply overrides
|
||||||
if [ "$SKIPOVERRIDE" = false ]; then
|
if [ "$SKIPOVERRIDE" = false ]; then
|
||||||
while IFS=',' read -ra FILE; do
|
while IFS=',' read -ra FILES; do
|
||||||
add_override "$FILE"
|
for FILE in "${FILES[@]}"; do
|
||||||
|
add_override "$FILE"
|
||||||
|
done
|
||||||
done <<< "$OVERRIDE"
|
done <<< "$OVERRIDE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue