diff options
author | Anders Darander <anders@chargestorm.se> | 2017-03-01 18:19:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:18 +0000 |
commit | 2db1227fa245475c021f90dd5c30829f976248b3 (patch) | |
tree | e911bb228bf949e1fa9c3899bbef61ad04d5b82f /meta/lib | |
parent | ca83f35f5a561fc50b6d026a6237ee07b775b396 (diff) | |
download | poky-2db1227fa245475c021f90dd5c30829f976248b3.tar.gz |
lib/oe/package.py: remove @ from package name
@ isn't allowed in package names. Angular2 packages often have
@ in their names.
(From OE-Core rev: 3c4291bc58bcc5c66ef539eed29b7c37ac968a06)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 795389517f..0ca41aa91c 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py | |||
@@ -150,6 +150,7 @@ def npm_split_package_dirs(pkgdir): | |||
150 | continue | 150 | continue |
151 | pkgitems.append(pathitem) | 151 | pkgitems.append(pathitem) |
152 | pkgname = '-'.join(pkgitems).replace('_', '-') | 152 | pkgname = '-'.join(pkgitems).replace('_', '-') |
153 | pkgname = pkgname.replace('@', '') | ||
153 | pkgfile = os.path.join(root, dn, 'package.json') | 154 | pkgfile = os.path.join(root, dn, 'package.json') |
154 | data = None | 155 | data = None |
155 | if os.path.exists(pkgfile): | 156 | if os.path.exists(pkgfile): |