Compare commits

...

1 Commits

Author SHA1 Message Date
Vincent Riquer
caa4ea97ea Treat destination in the order they are declared 2025-01-21 01:52:23 +01:00
3 changed files with 3 additions and 3 deletions

2
atom
View File

@ -331,7 +331,7 @@ fi
openDatabase openDatabase
for destination in "${!destinationpath[@]}" for destination in "${destinations[@]}"
do do
if (( ${destinationenabled["$destination"]} )) if (( ${destinationenabled["$destination"]} ))
then then

View File

@ -21,7 +21,7 @@ printConfig() {
printed=1 printed=1
done done
unset printed unset printed
for destination in ${!destinationpath[@]} for destination in ${destinations[@]}
do do
cat <<-EOF cat <<-EOF

View File

@ -52,7 +52,7 @@ path $sourcepath
EOCfg EOCfg
for destination in "${!destinationpath[@]}" for destination in "${destinations[@]}"
do do
cat <<-EOCfg cat <<-EOCfg
[$destination] [$destination]