Re: List translators script



On Mi, 2009-05-20 at 21:15 +0100, Simos Xenitellis wrote:
> 
> On Wed, May 20, 2009 at 8:29 PM, daniel g. siegel <dgsiegel gmail com>
> wrote:
>         On Mi, 2009-05-20 at 14:59 +0200, Vincent Untz wrote:
>         > Le lundi 18 mai 2009, à 23:01 +0200, daniel g. siegel a
>         écrit :
>         > > i have also working list_translators.sh here, which i
>         enhanced to my
>         > > needs. please find it attached.
>         >
>         > You're missing " -- $1" in diff_files.
>         
>         
>         and youre right ;)
>         
>         fixed version is attached
> 
> A final touch is to change
> 
> function diff_files() {
>   git diff $TAG..HEAD --name-only -- $1 | grep "\.po$"
> }
> 
> to 
> 
> diff_files() {
>   git diff $TAG..HEAD --name-only -- $1 | grep "\.po$"
> }
> 
> The 'function' build-in is a bash-ism, which does not work with
> 'dash', the default shell in Ubuntu (and probably elsewhere).
> Bash is still OK when you don't specify the 'function' built-in.
> 

thanks a lot!

daniel

> Simos
-- 
this mail was sent using 100% recycled electrons
================================================
daniel g. siegel <dgsiegel gmail com>
http://home.cs.tum.edu/~siegel
gnupg key id: 0x6EEC9E62
fingerprint: DE5B 1F64 9034 1FB6 E120 DE10 268D AFD5 6EEC 9E62
encrypted email preferred

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]