The following line on a bash script:
$GEN_SDK $GEN_SDK_FLAGS $OUT_DIR/toolchain || panic "Cannot generate SDK toolchain!"
is panicking when executed. I believe the logic on this line is that if the first command runs OK, then the second one is not evaluated. But what does it mean for the first command to run OK? There's no such thing as return true
in bash. So how does it know it didn't run OK?