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

Don't use arch in shell scripts #5480

Merged
merged 2 commits into from
Dec 1, 2019
Merged

Conversation

morgo
Copy link
Contributor

@morgo morgo commented Nov 27, 2019

The PR #5434 broke install from source on macOS.

Upon further investigation, it can also break on linux, since arch is not available on Arch Linux etc. As pointed out in google/fscrypt#92 ; the arch command should not be relied on for portable scripts.

I have changed this case, plus another case that broke on Arch Linux.

Signed-off-by: Morgan Tocker [email protected]

Signed-off-by: Morgan Tocker <[email protected]>
@morgo morgo requested a review from sougou as a code owner November 27, 2019 16:19
Copy link
Contributor

@PrismaPhonic PrismaPhonic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Thanks for fixing this!

@sougou sougou merged commit 031d50e into vitessio:master Dec 1, 2019
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.

4 participants