Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TOC interface parsing to allow for 6 digit interface versions #135

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

Nevcairiel
Copy link
Member

With Retail moving to 10.0, Interface versions are expected to change to
6 digits, with a 2 digit major version in the front. Adjust the parsing
of the interface version to accomodate for this.

With Retail moving to 10.0, Interface versions are expected to change to
6 digits, with a 2 digit major version in the front. Adjust the parsing
  of the interface version to accomodate for this.
@nebularg
Copy link
Member

nebularg commented Aug 17, 2022

oh neat, i didn't realize adding the extra space let the start index be negative and avoid the clash with the 'use if unset' expansion and ended up with $( l=${#toc_version}; printf "%d.%d.%d" "${toc_version:0:-4}" "${toc_version:$((l-4)):2}" "${toc_version:$((l-2)):2}" )

@nebularg nebularg merged commit 439a2f1 into BigWigsMods:master Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants