diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-08-01 18:47:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-02 12:43:05 +0100 |
commit | 12ddf6c6a7559d97d9b8f84fcc89ed02e30df85d (patch) | |
tree | dbec9a34aa7d40c107ef550fcfc2c2d2533713ec /meta/recipes-core/gettext | |
parent | 2a41a311ddda11713296391050f3c2c1b2c1d3d3 (diff) | |
download | openembedded-core-12ddf6c6a7559d97d9b8f84fcc89ed02e30df85d.tar.gz openembedded-core-12ddf6c6a7559d97d9b8f84fcc89ed02e30df85d.tar.bz2 openembedded-core-12ddf6c6a7559d97d9b8f84fcc89ed02e30df85d.tar.xz openembedded-core-12ddf6c6a7559d97d9b8f84fcc89ed02e30df85d.zip |
scripts/runqemu: grep for line beginning with TMPDIR
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
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/gettext')
0 files changed, 0 insertions, 0 deletions