[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] quilt 'env' command to get environment variables
From: |
Greg KH |
Subject: |
Re: [Quilt-dev] quilt 'env' command to get environment variables |
Date: |
Mon, 23 Apr 2012 19:29:08 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Apr 24, 2012 at 04:12:31AM +0200, Andreas Grünbacher wrote:
> Greg,
>
> Am 23. April 2012 23:12 schrieb Greg KH <address@hidden>:
> > Am I just missing something built in that quilt already provides to get
> > this type of information?
>
> I don't think so.
>
> > Or is a command like this useful for anyone else?
>
> Not sure, but it won't hurt, right?
>
> > If so, I'll be glad to turn it into a "real" patch,
>
> Try something like this for proper quoting though, please.
>
> quot="'\\''"
> for x in QUILTRC QUILT_{DIFF,PATCH,DIFFSTAT}_OPTS \
>
> QUILT_{PATCHES,SERIES,PATCHES_PREFIX,NO_DIFF_INDEX,NO_DIFF_TIMESTAMPS,PAGER}
> \
> EDITOR
> do
> echo "$x='${!x//\'/$quot}'"
> done
Sure, take something simple and make it more complex :)
I'll make up a patch tomorrow and send it off, thanks.
greg k-h