]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: fix picking up false npm package directories
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 27 Apr 2016 13:06:18 +0000 (01:06 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 Jun 2016 18:33:23 +0000 (19:33 +0100)
commit8da9185a1c68c8274269841d0867d7d4abf426f0
treec4769b30b8ab6fa3856641fee54b435900f27c91
parentc2267c885848b438b52b45dd45c8a217cdb661a6
recipetool: create: fix picking up false npm package directories

It is possible for a Node.js module to have node_modules subdirectories
that contain no package.json file (e.g. iotivity-node has such a
directory). It appears these should simply be ignored, or else with the
way the current code works we will get errors later.

(From OE-Core rev: 8c522f1f536270e195c8c73f5c72801495e7b33b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
meta/lib/oe/package.py