mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
Build scripts and the like ought to be able to check the results of the build using the exit status of the build command. bin/package, src/cmd/INIT/package.sh: - Add global error_status variable to keep track of the highest exit status of all commands using capture(). Exit with that. - capture(): * When capturing build output using 'tee', change the regular pipe construct (which doesn't preserve the exit status of pipe elements except the last one) to a couple of background jobs connected with a FIFO (named pipe). This allows getting the build's exit status using the "wait" command. * Update error_status on every invocation of capture(). (cherry picked from commit 22c3a6e1b32f3ab7eeca45adb76863982dc3e334) |
||
---|---|---|
.. | ||
ignore | ||
mamprobe | ||
package | ||
shtests | ||
silent |