]> code.ossystems Code Review - openembedded-core.git/commit
devtool: edit-recipe: fix regression
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 30 Aug 2017 23:54:09 +0000 (11:54 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Aug 2017 22:25:32 +0000 (23:25 +0100)
commitd5191840212adbf480961ba6fc68e1ab17e5a77a
tree586aa735f64704b423ee474004871a026d59c615
parent56bf5e93358187e31160d7893f57906bb3dc7ad7
devtool: edit-recipe: fix regression

OE-Core commit 5a16b3c804c5eca331a1c08a7ce31a54909af105 attempted to use
the same function to get the path to a recipe as the new "find-recipe"
command it implemented, except that cannot work because (a) it didn't
return anything and (b) event if it had tried, a command function can
only return an exit code and we don't want that for find-recipe if it
succeeded. Split out a separate reusable function for both commands.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/utilcmds.py