summaryrefslogtreecommitdiff
path: root/scripts/devtool
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-04-27 10:53:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-27 15:05:39 +0100
commitb9fd8d4d4dfae72de2e81e9b14de072e12cecdcf (patch)
tree811f33c26f132fd6da71daf180888f6f958a9351 /scripts/devtool
parent8b1794559dd7fd956716179d628e61cffdce1686 (diff)
downloadopenembedded-core-b9fd8d4d4dfae72de2e81e9b14de072e12cecdcf.tar.gz
openembedded-core-b9fd8d4d4dfae72de2e81e9b14de072e12cecdcf.tar.bz2
openembedded-core-b9fd8d4d4dfae72de2e81e9b14de072e12cecdcf.zip
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]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-xscripts/devtool2
1 files changed, 1 insertions, 1 deletions
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: