[OE-core] [PATCH] scripts/runqemu: grep for line beginning with TMPDIR
richard.purdie at linuxfoundation.org
Tue Aug 2 13:43:19 CEST 2011
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
> $ bitbake -e | grep TMPDIR=\"
> So we become a bit more stringent and look for
> line starting with TMPDIR
> $ bitbake -e | grep ^TMPDIR=\"
> 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.
More information about the Openembedded-core