> Nit that you should update the copyright in build_dist.bash, but
> otherwise looks OK. Looked at a couple of the postrun scripts, didn't
> see anything that looked odd. Out of curiosity, are we getting fewer
> failures from them now?
Yes, I'll update the copyright.
We're actually still seeing the same (or similar) failures with some of
the postruns. One thing I noticed is the exec_postrun script is
throwing away the output (include stderr) - I don't know if it's
intentional but I suspect not since there's the following line in the
case of a non-zero exist status
cat $OUTPUT >2
which of course puts the command output in a file called "2" :-)
I've changed this as follows - let me know if this makes sense or have
I missed the intent here?
--- /tmp/exec_postrun Fri Jan 25 21:52:45 2008
+++ ./exec_postrun Fri Jan 25 20:59:49 2008
@@ -13,10 +13,10 @@
exec_name=`echo *.$num`
echo "Executing $exec_name"
- /bin/sh $exec_name > $OUTPUT 2>& 1
+ /bin/sh $exec_name 2> $OUTPUT > /dev/null
if [ "$?" != "0" ] ; then
echo "$exec_name failed"
- cat $OUTPUT >2
+ cat $OUTPUT
fi
num=`/bin/expr $num + 1`
/bin/rm -f $OUTPUT
I'll send the output of the postrun failures in a separate email once
the build finishes.
dsc