[MPlayer-dev-eng] [PATCH] fix for textultils 2.1 coreutils 5.0 "-1" deprecation

Luca Barbato lu_zero at gentoo.org
Tue Jul 8 19:40:25 CEST 2003


Diego Biurrun wrote:
> Luca Barbato schrieb:
> 
>> Ok new patch to cope with that, if we are about to use textutils or 
>> coreutils -n 1 will be used, else -1.
>>
>> I hope that one is ok for every system.
>>
>> generated with cvs diff -u
>>
>> +oneline="-n 1"
>> +if test -z "`cut --version | egrep "textutils|coreutils"`" ; then
>> +  oneline="-1"
>> +fi
>> +
>>  
>> -  pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -1`
>> +  pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head `
> 
> 
> You sure this is correct? ;-)
> 
> Diego
> 
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
hm bogus sed expression applied w/out thinking enough, forgive me

that one should be correct.



-- 
Luca Barbato
Developer
Gentoo Linux				http://www.gentoo.org/~lu_zero


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configurevscoreutils.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030708/1f07c0c5/attachment.asc>


More information about the MPlayer-dev-eng mailing list