summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/bitbake-layers2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index 1c0d520d10..bd05c5f69e 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -120,6 +120,8 @@ Removes the specified layer from bblayers.conf
120 120
121 if args.layerdir.startswith('*'): 121 if args.layerdir.startswith('*'):
122 layerdir = args.layerdir 122 layerdir = args.layerdir
123 elif not '/' in args.layerdir:
124 layerdir = '*/%s' % args.layerdir
123 else: 125 else:
124 layerdir = os.path.abspath(args.layerdir) 126 layerdir = os.path.abspath(args.layerdir)
125 (_, notremoved) = bb.utils.edit_bblayers_conf(bblayers_conf, None, layerdir) 127 (_, notremoved) = bb.utils.edit_bblayers_conf(bblayers_conf, None, layerdir)