Since #66 the exist status of the build script is lost, because script dosn't forward the exist status:
script
buczek@theinternet:~/git/pkg-scripts (fix-build-log)$ script -q -c "false" x.log ; echo $? 0
So tools/build.sh now continues even if the build scripts fails. Bad.
The fact, that the logfile is now written by the build user instead of the calling user is another unintentional change of #66.
The text was updated successfully, but these errors were encountered:
Completely agree on this. Changing a failed build to bin.bin is not clever.
Sorry, something went wrong.
build.sh: Let script cmd return exit code
3555f8a
'script -e' returns the exit code of the child process. This yields again to the intended behaviour (Closes #72).
Successfully merging a pull request may close this issue.
Since #66 the exist status of the build script is lost, because
script
dosn't forward the exist status:So tools/build.sh now continues even if the build scripts fails. Bad.
The fact, that the logfile is now written by the build user instead of the calling user is another unintentional change of #66.
The text was updated successfully, but these errors were encountered: