Skip to content

Commit

Permalink
fix: run for key-value pairs not cartesian product
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Jan 28, 2025
1 parent 69cfdf8 commit 2e8f074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update_sc2_datasets
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function update_dataset() {
echo "$(write_changelog "${dataset_name}")$(<data/${dataset_name}/CHANGELOG.md)" > "data/${dataset_name}/CHANGELOG.md"
}
export -f update_dataset
parallel --jobs "${#trees[@]}" update_dataset ::: "${!trees[@]}" ::: "${trees[@]}"
parallel --jobs "${#trees[@]}" update_dataset :::+ "${!trees[@]}" :::+ "${trees[@]}"


# Setup git identity
Expand Down

0 comments on commit 2e8f074

Please sign in to comment.