diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-02-25 15:29:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-25 23:28:15 +0000 |
commit | 7182cdd3c4a534a87147bb0aad7b360ffef6426b (patch) | |
tree | 8955b748d01bd6122f6e58a72af747654a8188d6 /bin/bitbake-layers | |
parent | 8a5c83c953c1e541704fe979e90d9d3be66e9ffd (diff) | |
download | bitbake-contrib-7182cdd3c4a534a87147bb0aad7b360ffef6426b.tar.gz |
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].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake-layers')
-rwxr-xr-x | bin/bitbake-layers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bitbake-layers b/bin/bitbake-layers index a86ad1c0f..89662c7f9 100755 --- a/bin/bitbake-layers +++ b/bin/bitbake-layers @@ -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) |