[MPlayer-dev-eng] [PATCH] help_diff.sh little bugfix

Pascal Haakmat a.haakmat at chello.nl
Sun Jun 9 14:07:55 CEST 2002


09/06/02 13:36, Michele Balistreri wrote:

> Alle 13:43, domenica 9 giugno 2002, Arpi ha scritto:
> > Hi,
> >
> > > This patch prevent the bash shell to read rc files, without this, all
> > > shell script's output will be written in help_mp.h (such as fortune) and
> > > mplayer won't compile.
> > > the patch is very simple.. just substitute #!/bin/bash with #!/bin/sh
> >
> > i don't know the reason of this change
> > why is /bin/bash bad??????
> >
> because if you have a shell script with /bin/bash it will executed and it's 
> output written in help_mp.h while /bin/sh do NOT execute the script or read 
> the rc files and generate a correct help_mp.h. I can give you an example:
> 
> help_mp.h:
> #include "help_mp-it.h"
> ----------------------------------------------------------------------
> Ambasciator non porta pena.
> Ambasciatrice non porta pene.
>                 -- Andrea `Zuse' Balestrero
> ----------------------------------------------------------------------
> END of help_mp.h
> and mplayer won't compile.

Maybe #!/bin/bash --norc is better?



More information about the MPlayer-dev-eng mailing list