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

[Error] Exit status seems to not be evaluated for every single instruction of PKGBUILD functions #50

Closed
M0Rf30 opened this issue Dec 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@M0Rf30
Copy link
Owner

M0Rf30 commented Dec 19, 2023

Describe the bug
Seems that only last instruction exit status is evaluated from mvdan/sh in packaga and build functions, giving a misleading packaging result

To Reproduce
Use more than one command and put a failing install in the middle. install will fail but package will be created

Expected behavior
install command fails giving an error on package creation and exiting from yap with exit-code = 1

Reported by @frisonisland

@M0Rf30 M0Rf30 added the bug Something isn't working label Dec 19, 2023
@M0Rf30 M0Rf30 closed this as completed in 1e12482 Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant