From 36df1bb9bb3c92d096118b74fdf11a243be3f7d5 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 27 Apr 2015 10:53:17 +0100 Subject: devtool: handle . in recipe name Names such as glib-2.0 are valid (and used) recipe names, so we need to support them. Fixes [YOCTO #7643]. (From OE-Core master rev: b9fd8d4d4dfae72de2e81e9b14de072e12cecdcf) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- scripts/devtool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/devtool b/scripts/devtool index 981ff515d3..841831c410 100755 --- a/scripts/devtool +++ b/scripts/devtool @@ -101,7 +101,7 @@ def read_workspace(): _create_workspace(config.workspace_path, config, basepath) logger.debug('Reading workspace in %s' % config.workspace_path) - externalsrc_re = re.compile(r'^EXTERNALSRC(_pn-[a-zA-Z0-9-]*)? =.*$') + externalsrc_re = re.compile(r'^EXTERNALSRC(_pn-[^ =]+)? =.*$') for fn in glob.glob(os.path.join(config.workspace_path, 'appends', '*.bbappend')): pn = os.path.splitext(os.path.basename(fn))[0].split('_')[0] with open(fn, 'r') as f: -- cgit 1.2.3-korg