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

fix: Modify the absolute path execution of musl-gcc #705

Merged
merged 1 commit into from
May 17, 2022

Conversation

Super-long
Copy link
Contributor

Describe what this PR does / why we need it

musl-gcc is used when building nsexec in the Makefile, which uses absolute paths when executing, which is unnecessary. And doing so will fail to execute under some distributions. For example, in the PKGBUILD file of archLinux, /usr/bin/ is used as the storage path for executable files instead of /usr/local/.

Does this pull request fix one issue?

NONE

Describe how you did it

I changed the execution absolute path of musl-gcc to look for execution in $PATH.

Describe how to verify it

Just make directly.

Signed-off-by: Super-long <0x4f4f4f4f@gmail.com>
@tiny-x tiny-x added the type/enhancement New feature or request label May 17, 2022
@tiny-x tiny-x added this to the v1.6.1 milestone May 17, 2022
@tiny-x tiny-x self-requested a review May 17, 2022 07:38
@tiny-x tiny-x merged commit eb4131b into chaosblade-io:master May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants