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

Total memory detection in other locales #307

Merged
merged 1 commit into from May 30, 2017
Merged

Conversation

@zeehio
Copy link
Contributor

@zeehio zeehio commented May 30, 2017

When free is localized the awk line fails to parse the total memory, for instance on Ubuntu Trusty under a Spanish locale.

This commit ensures that free is run with the C locale, so the output is in English, as the awk script expects.

When `free` is localized the `awk` line fails to parse the total memory, for instance on Ubuntu Trusty under a Spanish locale.

This commit ensures that `free` is run with the C locale, so the output is in English, as the awk script expects.
@tomas-pluskal
Copy link
Member

@tomas-pluskal tomas-pluskal commented May 30, 2017

Looks good, thanks!

@tomas-pluskal tomas-pluskal merged commit 21f8e0c into mzmine:master May 30, 2017
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@zeehio zeehio deleted the zeehio:patch-1 branch Feb 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants