[snip patchscript options]
Another option, which doesn't require changes to hundreds of packages, is to require bash 3.0 and use the pipefail option for PatchScripts:
bash-3.00$ false | true; echo $? 0 bash-3.00$ set -o pipefail bash-3.00$ false | true; echo $? 1
Dave
PGP.sig
Description: This is a digitally signed message part