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

Use an indexed array instead of an associative array #7772

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

chcosta
Copy link
Member

@chcosta chcosta commented Aug 20, 2021

Fixes #7689

array was being declared as an "Associative array" (-A) instead of an "indexed array" (-a) which led to the error in the related issue.

After fixing the array type, I noticed that install-native-tools.sh was reporting another failure. It seems that he shim file path was being generated based on the tar file name (case-sensitive), but the extracted contents were all lower case, so the shim couldn't find the executable file (cmake).

To double check:

@chcosta chcosta requested a review from riarenas August 20, 2021 18:09
@chcosta chcosta merged commit fe787bd into dotnet:main Aug 20, 2021
@chcosta chcosta deleted the native-fix branch August 20, 2021 21:34
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.

init-tools-native.sh does not currently work ("must use subscript when assigning associative array")
2 participants