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 crash when sourcing pre-build init.sh #820

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

TimoWilken
Copy link
Contributor

If the last line in init.sh would load a package that was already loaded, [ -z ... ] returns false, which would mean the entire script's exit code is false, and the build would fail.

Fix this, so that the expression always returns true (either if the package is already loaded or if it is loaded by the line in question).

If the last line in init.sh would load a package that was already loaded, [ -z
... ] returns false, which would mean the entire script's exit code is false,
and the build would fail.

Fix this, so that the expression always returns true (either if the package is
already loaded or if it is loaded by the line in question).
@TimoWilken TimoWilken merged commit 53558b8 into alisw:master Dec 12, 2023
11 checks passed
@TimoWilken TimoWilken deleted the fix-prebuild-init.sh branch December 12, 2023 12:53
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.

1 participant