diff options
Diffstat (limited to 'scripts/lib/wic/plugin.py')
-rw-r--r-- | scripts/lib/wic/plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugin.py b/scripts/lib/wic/plugin.py index 7244989d86..ccfdfcb934 100644 --- a/scripts/lib/wic/plugin.py +++ b/scripts/lib/wic/plugin.py | |||
@@ -48,7 +48,7 @@ class PluginMgr(object): | |||
48 | self.plugin_dir = scripts_path + PLUGIN_DIR | 48 | self.plugin_dir = scripts_path + PLUGIN_DIR |
49 | self.layers_path = None | 49 | self.layers_path = None |
50 | 50 | ||
51 | def _build_plugin_dir_list(self, dl, ptype): | 51 | def _build_plugin_dir_list(self, plugin_dir, ptype): |
52 | if self.layers_path is None: | 52 | if self.layers_path is None: |
53 | self.layers_path = get_bitbake_var("BBLAYERS") | 53 | self.layers_path = get_bitbake_var("BBLAYERS") |
54 | layer_dirs = [] | 54 | layer_dirs = [] |
@@ -58,7 +58,7 @@ class PluginMgr(object): | |||
58 | path = os.path.join(layer_path, SCRIPTS_PLUGIN_DIR, ptype) | 58 | path = os.path.join(layer_path, SCRIPTS_PLUGIN_DIR, ptype) |
59 | layer_dirs.append(path) | 59 | layer_dirs.append(path) |
60 | 60 | ||
61 | path = os.path.join(dl, ptype) | 61 | path = os.path.join(plugin_dir, ptype) |
62 | layer_dirs.append(path) | 62 | layer_dirs.append(path) |
63 | 63 | ||
64 | return layer_dirs | 64 | return layer_dirs |