Treat destination in the order they are declared
This commit is contained in:
parent
4e59449d40
commit
caa4ea97ea
2
atom
2
atom
@ -331,7 +331,7 @@ fi
|
||||
|
||||
openDatabase
|
||||
|
||||
for destination in "${!destinationpath[@]}"
|
||||
for destination in "${destinations[@]}"
|
||||
do
|
||||
if (( ${destinationenabled["$destination"]} ))
|
||||
then
|
||||
|
||||
@ -21,7 +21,7 @@ printConfig() {
|
||||
printed=1
|
||||
done
|
||||
unset printed
|
||||
for destination in ${!destinationpath[@]}
|
||||
for destination in ${destinations[@]}
|
||||
do
|
||||
cat <<-EOF
|
||||
|
||||
|
||||
@ -52,7 +52,7 @@ path $sourcepath
|
||||
|
||||
|
||||
EOCfg
|
||||
for destination in "${!destinationpath[@]}"
|
||||
for destination in "${destinations[@]}"
|
||||
do
|
||||
cat <<-EOCfg
|
||||
[$destination]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user