diff options
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/devtool/standard.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 2dbb197642..a962ebe09b 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -1861,9 +1861,7 @@ def _get_layer(layername, d): | |||
1861 | layerdir = layers.get('meta', None) | 1861 | layerdir = layers.get('meta', None) |
1862 | else: | 1862 | else: |
1863 | layerdir = layers.get(layername, None) | 1863 | layerdir = layers.get(layername, None) |
1864 | if layerdir: | 1864 | return os.path.abspath(layerdir or layername) |
1865 | layerdir = os.path.abspath(layerdir) | ||
1866 | return layerdir or layername | ||
1867 | 1865 | ||
1868 | def finish(args, config, basepath, workspace): | 1866 | def finish(args, config, basepath, workspace): |
1869 | """Entry point for the devtool 'finish' subcommand""" | 1867 | """Entry point for the devtool 'finish' subcommand""" |