Skip to content

Commit

Permalink
Don't parse the root toc twice
Browse files Browse the repository at this point in the history
  • Loading branch information
nebularg committed May 28, 2024
1 parent f3382d0 commit 08d365a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ for toc_path in "$topdir/$package"{,-Mainline,_Mainline,-Classic,_Classic,-Vanil
done
# Try parsing the project addon in move-folders for info next
for path in "${!toc_root_paths[@]}"; do
if [[ ${toc_root_paths[$path]} == "$package" ]]; then
if [[ ${toc_root_paths[$path]} == "$package" && $path != "$topdir" ]]; then
for toc_path in "$path/$package"{,-Mainline,_Mainline,-Classic,_Classic,-Vanilla,_Vanilla,-BCC,_BCC,-TBC,_TBC,-Wrath,_Wrath,-WOTLKC,_WOTLKC,-Cata,_Cata}.toc; do
if [[ -f "$toc_path" ]]; then
set_toc_project_info "$toc_path"
Expand Down

0 comments on commit 08d365a

Please sign in to comment.