bitbake: bitbake-layers: fix wildcard support in remove-layer

The recent refactoring caused use of wildcards to trigger a traceback
because the old variable name was being used.

Fixes [YOCTO #7367].

(Bitbake rev: 7182cdd3c4a534a87147bb0aad7b360ffef6426b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2015-02-25 15:29:58 +00:00 committed by Richard Purdie
parent 40d80f9e01
commit efd78e3508
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ Removes the specified layer from bblayers.conf
return 1
if args.layerdir.startswith('*'):
layerdir = dirname
layerdir = args.layerdir
else:
layerdir = os.path.abspath(args.layerdir)
(_, notremoved) = bb.utils.edit_bblayers_conf(bblayers_conf, None, layerdir)