Re: intended MBF: wrong redirections in maintainer scripts
On Sat, Aug 04, 2018 at 01:15:57PM +0800, Ralf Treinen wrote:
> Hi,
>
> as announced in our talk at debconf'18 [1] we intend a MBF about wrong
> redirections in maintainer scripts. In general these are of the form
>
> foo 2>&1 1> /dev/null
>
> Here it was probably intended to send both stderr and stdout to /dev/null.
What makes you say that? ;-)
It may be that the maintainer did indeed want stdout to be discarded,
but stderr not; for instance because they wanted to parse the stderr
output.
(not saying this is the most likely case, but you might want to
double-check that before filing the bugs)
--
Could you people please use IRC like normal people?!?
-- Amaya Rodrigo Sastre, trying to quiet down the buzz in the DebConf 2008
Hacklab
Reply to: