|
From: | julien . rioux |
Subject: | Re: Directs makeinfo and texi2html output to logfiles (issue 5645046) |
Date: | Wed, 08 Feb 2012 12:56:35 +0000 |
I'm not sure why the run-and-check.sh script needs to be so complicated. http://codereview.appspot.com/5645046/diff/1005/scripts/build/run-and-check.sh File scripts/build/run-and-check.sh (right): http://codereview.appspot.com/5645046/diff/1005/scripts/build/run-and-check.sh#newcode3 scripts/build/run-and-check.sh:3: # CheckAndRun.sh. Takes 2 parameters - the command to be run and run-and-check.sh http://codereview.appspot.com/5645046/diff/1005/scripts/build/run-and-check.sh#newcode14 scripts/build/run-and-check.sh:14: exec 1>&6 6>&- # Restore stdout and close file descriptor #6 Wouldn't this be sufficient: $1 >& $2 RetVal=$? why is all the extra redirection needed? why is exec and eval needed? http://codereview.appspot.com/5645046/
[Prev in Thread] | Current Thread | [Next in Thread] |