Skip to content
Commit 17cb1ed6 authored by Mislav Marohnić's avatar Mislav Marohnić
Browse files

Prevent "BUILD FAILED" appearing twice on `./configure` error

Since `./configure` executes in a bash subshell, it failing would
execute the ERR trap twice: once in a subshell and once in the main
process. An explicit `return 1` skips one of these ERR traps and fixes
double output.

I hope.

[image of I Have No Idea What I'm Doing dog]
parent 0bdd502b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment