Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] scripts/runqemu: grep for line beginning with TMPDIR
Date: Tue, 02 Aug 2011 12:43:19 +0100	[thread overview]
Message-ID: <1312285399.2344.581.camel@rex> (raw)
In-Reply-To: <1312249633-23675-1-git-send-email-raj.khem@gmail.com>

On Mon, 2011-08-01 at 18:47 -0700, Khem Raj wrote:
> Currently the grep regexp matches any occurance of
> 'TMPDIR=' but if you have another variable defined
> e.g. OE_BUILD_TMPDIR=xxx then that gets picked up
> too.
> 
> $ bitbake -e | grep TMPDIR=\"
> TMPDIR="/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc"
> OE_BUILD_TMPDIR="/home/kraj/work/angstrom/build/tmp-angstrom_2010_x"
> 
> So we become a bit more stringent and look for
> line starting with TMPDIR
> 
> $ bitbake -e | grep ^TMPDIR=\"
> TMPDIR="/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc"
> 
> make sure that it greps
> only TMPDIR=xxx occurance and not values of other variables
> whose names happens to end with TMPDIR

Merged to master, thanks.

Richard




      reply	other threads:[~2011-08-02 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02  1:47 [PATCH] scripts/runqemu: grep for line beginning with TMPDIR Khem Raj
2011-08-02 11:43 ` Richard Purdie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1312285399.2344.581.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox