[MPlayer-dev-eng] [PATCH] help_diff.sh little bugfix
Michele Balistreri
brain at email.it
Sun Jun 9 13:36:35 CEST 2002
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.
More information about the MPlayer-dev-eng
mailing list