alisw / alibuild

A simple build tool for ALICE software
http://alisw.github.io/alibuild/
GNU General Public License v3.0
24 stars 47 forks source link

Fix crash when sourcing pre-build init.sh #820

Closed TimoWilken closed 11 months ago

TimoWilken commented 11 months ago

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).