]> code.ossystems Code Review - openembedded-core.git/commit
classes/npm: set HOME during do_install
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 6 Feb 2017 20:45:40 +0000 (09:45 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Feb 2017 14:48:55 +0000 (14:48 +0000)
commita667cb9ed2dceb804b85d1a024e2619bc34d2681
treef69cec507047f09322bab08f2408ea3e776090cf
parentc966dee6208d3b7a9fa3c1b8aa1266058dcb65ff
classes/npm: set HOME during do_install

In do_compile we set HOME so that ~/.npm* only get created in the work
directory; we need to do the same in do_install as well or they'll go
into the user's home directory which we do not want.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/npm.bbclass