diff options
| author | Dominyk Tiller | 2015-02-17 15:13:00 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-17 16:07:51 +0000 |
| commit | 1580f8b8b4beabc95af4b527e4a832970958e26d (patch) | |
| tree | 334fafb12e83d66490c15b2c997164215fbce58c /Library/Formula | |
| parent | da032a9279b5015378b70825e7922c152c6e35e3 (diff) | |
| download | homebrew-1580f8b8b4beabc95af4b527e4a832970958e26d.tar.bz2 | |
node: override npmrc in $home
Closes #36833.
Closes #36899.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/node.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index 40caf0e65..371d74409 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -54,7 +54,8 @@ class Node < Formula # make sure npm can find node ENV.prepend_path "PATH", bin - + # make sure user prefix settings in $HOME are ignored + ENV["HOME"] = buildpath/"home" # set log level temporarily for npm's `make install` ENV["NPM_CONFIG_LOGLEVEL"] = "verbose" |
