Konstantinos, removing the "\" after set -ex causes it to be interpreted as its own command, doing nothing, and means that the large shell snippet isn't run under "set -e" anymore, meaning that errors in intermediate get ignored.
In other words, this would fail in a make target:
set -e; false; true
but this would not:
false; true
The real issue is one of the shell commands failing.
Konstantinos, removing the "\" after set -ex causes it to be interpreted as its own command, doing nothing, and means that the large shell snippet isn't run under "set -e" anymore, meaning that errors in intermediate get ignored.
In other words, this would fail in a make target:
set -e; false; true
but this would not:
false; true
The real issue is one of the shell commands failing.