fix for bash arrays from upstream. fixes multiple mod updates at once
This commit is contained in:
parent
a601e03376
commit
a1ecb9decb
1 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ cd $tmpd
|
||||||
# flock -w 120 9 || exit 1 - Waits 120 seconds and then gives up
|
# flock -w 120 9 || exit 1 - Waits 120 seconds and then gives up
|
||||||
# Don't change the '9', unless you change the last line of this script.
|
# Don't change the '9', unless you change the last line of this script.
|
||||||
|
|
||||||
for mod in $MODS; do
|
for mod in ${MODS[@]}; do
|
||||||
currentfl=$TOPD/$mod/${FILELIST/'$mod'/$mod}
|
currentfl=$TOPD/$mod/${FILELIST/'$mod'/$mod}
|
||||||
currenttl=$TOPD/$mod/${TIMELIST/'$mod'/$mod}
|
currenttl=$TOPD/$mod/${TIMELIST/'$mod'/$mod}
|
||||||
currentil=$TOPD/$mod/${IMAGELIST/'$mod'/$mod}
|
currentil=$TOPD/$mod/${IMAGELIST/'$mod'/$mod}
|
||||||
|
@ -131,7 +131,7 @@ cd $tmpd
|
||||||
# Now we have the new file lists but in a temporary directory which
|
# Now we have the new file lists but in a temporary directory which
|
||||||
# probably isn't on the same filesystem. Copy them to temporary files in
|
# probably isn't on the same filesystem. Copy them to temporary files in
|
||||||
# the right place.
|
# the right place.
|
||||||
for mod in $MODS; do
|
for mod in ${MODS[@]}; do
|
||||||
currentfl=$TOPD/$mod/${FILELIST/'$mod'/$mod}
|
currentfl=$TOPD/$mod/${FILELIST/'$mod'/$mod}
|
||||||
currenttl=$TOPD/$mod/${TIMELIST/'$mod'/$mod}
|
currenttl=$TOPD/$mod/${TIMELIST/'$mod'/$mod}
|
||||||
currentil=$TOPD/$mod/${IMAGELIST/'$mod'/$mod}
|
currentil=$TOPD/$mod/${IMAGELIST/'$mod'/$mod}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue