diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-10-31 17:02:23 +1300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-06 23:35:32 +0000 |
| commit | ebe531b38bea54bd29ed7b3d2ea6c533b9331953 (patch) | |
| tree | ea1cc1b89aff36e1736e92f5110312acf7f0ce28 /scripts/lib/scriptutils.py | |
| parent | 6879d524c11b6f0d8920ca9713841d1b0927207f (diff) | |
| download | poky-ebe531b38bea54bd29ed7b3d2ea6c533b9331953.tar.gz | |
classes/npm: use npm install to do installation
Using "npm install" instead of "cp -a" is the more correct thing to be
doing here, and ensures that symlinks for executable scripts are put
into ${prefix}/bin. (I'd prefer ${bindir}, but npm does not allow
specifying paths at that level - only a prefix.)
Fixes [YOCTO #10460].
(From OE-Core rev: 90cb980a1c49de99a0aec00c0cd5fc1e165490a7)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions
