Skip to content

Don't use arch in shell scripts#5480

Merged
sougou merged 2 commits intovitessio:masterfrom
planetscale:morgo-fix-arch
Dec 1, 2019
Merged

Don't use arch in shell scripts#5480
sougou merged 2 commits intovitessio:masterfrom
planetscale:morgo-fix-arch

Conversation

@morgo
Copy link
Copy Markdown
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 tocker@gmail.com

Signed-off-by: Morgan Tocker <tocker@gmail.com>
@morgo morgo requested a review from sougou as a code owner November 27, 2019 16:19
Copy link
Copy Markdown
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!

Signed-off-by: Morgan Tocker <tocker@gmail.com>
@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