summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/bitbake-layers
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin/bitbake-layers')
-rwxr-xr-xbitbake/bin/bitbake-layers2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index a86ad1c0f1..89662c7f91 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -119,7 +119,7 @@ Removes the specified layer from bblayers.conf
119 return 1 119 return 1
120 120
121 if args.layerdir.startswith('*'): 121 if args.layerdir.startswith('*'):
122 layerdir = dirname 122 layerdir = args.layerdir
123 else: 123 else:
124 layerdir = os.path.abspath(args.layerdir) 124 layerdir = os.path.abspath(args.layerdir)
125 (_, notremoved) = bb.utils.edit_bblayers_conf(bblayers_conf, None, layerdir) 125 (_, notremoved) = bb.utils.edit_bblayers_conf(bblayers_conf, None, layerdir)