]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/recipeutils: fix replace_dir_vars to return the correct variables
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 14 Jul 2015 21:56:00 +0000 (22:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jul 2015 14:08:46 +0000 (15:08 +0100)
commit95c54512c9fcdbaa419891e46fd99102722ba3d8
treef146a8b1823ba712c56577922c4fcd845086752e
parentfd2d50d46e38d86829f88b5884a6fde6c38f155e
lib/oe/recipeutils: fix replace_dir_vars to return the correct variables

If we sort by length of name here we get the variables we are interested
in first. I've tested this with all of the variables we care about (the
ones at the top of bitbake.conf) and it returns the right results.

This fixes the failures we've been seeing in the oe-selftest
test_recipetool_appendfile_* tests.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/recipeutils.py