Merge branch '2.4.1' of ssh://git.tasktools.org/tm/task into 2.4.1
This commit is contained in:
@@ -8,7 +8,9 @@ OUT="${ORIGINALHOOK}.log.out"
|
|||||||
# Let it know that we were executed
|
# Let it know that we were executed
|
||||||
echo "% Called at $(date +%s%N)" >> ${IN}
|
echo "% Called at $(date +%s%N)" >> ${IN}
|
||||||
|
|
||||||
|
# Log what arrives via stdin to ${IN} and what comes via stdout to ${OUT}
|
||||||
$ORIGINALHOOK < <(tee -a ${IN}) > >(tee -a ${OUT})
|
$ORIGINALHOOK < <(tee -a ${IN}) > >(tee -a ${OUT})
|
||||||
|
# More on the < <() syntax at: http://tldp.org/LDP/abs/html/process-sub.html
|
||||||
|
|
||||||
EXITCODE=$?
|
EXITCODE=$?
|
||||||
echo "! Exit code: ${EXITCODE}" >> ${OUT}
|
echo "! Exit code: ${EXITCODE}" >> ${OUT}
|
||||||
|
|||||||
Reference in New Issue
Block a user