[MPlayer-dev-eng] RE: gmake fails if I use --language=de
Tomi Ollila
tomi.ollila at iki.fi
Thu Oct 30 07:25:29 CET 2003
Wednesday Oct 29 18:18:38 -0800 2003 James Bilotto <jb13 at gomerbud.com> wrote:
> On Thu, Oct 30, 2003 at 02:44:57AM +0100, Diego Biurrun wrote:
> > Arpi writes:
> > > > Attila Kinali writes:
> > > >
> > > > Sounds reasonable. Anybody _against_ changing the first line of
> > > > help/help-diff.sh?
> > >
> > > yes
> > > imho that script doesnt depend on bash at all, so change it to /bin/sh
> > > if it's false (it depends on bash) then fix teh script...
> > > its a very important script (is run by all non-english compile)
> > > so it shouldnt depend on it
> >
> > The problem is the use of 'read -r'.
> >
I tested the following in help/help_diffs.sh:
#while read -r line; do
sed 's/\\/\\\\/g' | while read line; do
Then I ran (on Fedora 0.95):
for i in *.h
do
./help_diff.sh.~1~ $i <help_mp-en.h >>! orig
done
and
for i in *.h
do
./help_diff.sh $i <help_mp-en.h >>! changed
done
$ ls -l orig changed
-rw-r--r-- 1 too too 46089 Oct 30 08:01 changed
-rw-r--r-- 1 too too 46089 Oct 30 08:05 orig
$ sha1sum orig changed
9afbeae441a252fc37801f3956e3df284b56ed0a changed
9afbeae441a252fc37801f3956e3df284b56ed0a orig
So that might be one working solution.
Tomi
More information about the MPlayer-dev-eng
mailing list