Re: [PATCH] (Really) Fix install-doc-quick target

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

 



Hi,

On Tue, 7 Aug 2007, Ren? Scharfe wrote:

> Junio C Hamano schrieb:
> > Mark Levedahl <mlevedahl@xxxxxxxxx> writes:
> > 
> >> +    printf "$mandir/%s\n" $(git ls-tree -r --name-only $head) | xargs
> >> gzip -f
> > 
> > No risk that ls-tree output is too long to fit within the exec
> > args limit to run printf?
> 
> Perhaps this instead?
> 
>    git ls-tree -r --name-only $head | (cd "$mandir" && xargs gzip -f)

I would have done

	git ls-tree -r --name-only $head | sed "s|^|$mandir|" | xargs gzip -f

but I like your version better.

Thanks for teaching me,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux