The Wayback Machine - https://web.archive.org/web/20220322132659/https://github.com/mongodb/mongo/pull/1387
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 zstandard_get_sources.sh to support WSL2 #1387

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jediahkatz
Copy link

@jediahkatz jediahkatz commented Dec 30, 2020

In recent versions of WSL2, the /proc/sys/kernel/osrelease has changed -- the string "microsoft" can now be lower case.

> cat /proc/sys/kernel/osrelease
4.19.128-microsoft-standard

This PR simply changes the check to be case-insensitive.

In recent versions of WSL2, the `/proc/sys/kernel/osrelease` has changed -- the string "microsoft" can now be lower case.
```
> cat /proc/sys/kernel/osrelease
4.19.128-microsoft-standard
```
This PR simply changes the check to be case-insensitive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant