Bugfix: Correcting check of pipe status.
This commit is contained in:
parent
e2c36835e8
commit
766b668fca
1 changed files with 7 additions and 7 deletions
14
sit
14
sit
|
@ -170,14 +170,14 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sit_sitinfo >> "$LOGDIR/sit_cmd.log"
|
sit_sitinfo >> "$LOGDIR/sit_cmd.log"
|
||||||
sit_unpack 2>&1 | tee "$LOGDIR/unpack.log"; ( exit ${PIPESTATUS} )
|
sit_unpack 2>&1 | tee "$LOGDIR/unpack.log"; ( exit ${PIPESTATUS[0]} )
|
||||||
sit_prepare 2>&1 | tee "$LOGDIR/prepare.log"; ( exit ${PIPESTATUS} )
|
sit_prepare 2>&1 | tee "$LOGDIR/prepare.log"; ( exit ${PIPESTATUS[0]} )
|
||||||
sit_configure 2>&1 | tee "$LOGDIR/configure.log"; ( exit ${PIPESTATUS} )
|
sit_configure 2>&1 | tee "$LOGDIR/configure.log"; ( exit ${PIPESTATUS[0]} )
|
||||||
sit_build 2>&1 | tee "$LOGDIR/make.log"; ( exit ${PIPESTATUS} )
|
sit_build 2>&1 | tee "$LOGDIR/make.log"; ( exit ${PIPESTATUS[0]} )
|
||||||
|
|
||||||
sit_pretest 2>&1 | tee "$LOGDIR/pretest.log"; ( exit ${PIPESTATUS} )
|
sit_pretest 2>&1 | tee "$LOGDIR/pretest.log"; ( exit ${PIPESTATUS[0]} )
|
||||||
sit_install 2>&1 | tee "$LOGDIR/make_install.log"; ( exit ${PIPESTATUS} )
|
sit_install 2>&1 | tee "$LOGDIR/make_install.log"; ( exit ${PIPESTATUS[0]} )
|
||||||
sit_posttest 2>&1 | tee "$LOGDIR/posttest.log"; ( exit ${PIPESTATUS} )
|
sit_posttest 2>&1 | tee "$LOGDIR/posttest.log"; ( exit ${PIPESTATUS[0]} )
|
||||||
sit_copy_logs
|
sit_copy_logs
|
||||||
sit_setperms
|
sit_setperms
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue