Reacting on xorriso ifailure in pipe test of releng/auto_isocontent

This commit is contained in:
2011-08-30 17:22:40 +00:00
parent 3b8f7c7007
commit d37ba92a71
3 changed files with 39 additions and 2 deletions

View File

@ -119,6 +119,20 @@ check_for_xorriso() {
}
#############################################
# To catch the exit value of a command in a pipe
return_value_file="$GEN_DATA_DIR"/wrapper_"$$"_return_value
return_wrapper()
{
cmd="$1"
shift 1
"$cmd" "$@"
RET="$?"
echo "$RET" >"$return_value_file"
return "$RET"
}
#############################################
next_is=