remove unnecessary ENV["HOME"] overwrite
This commit is contained in:
1 parent
a4ad985a2f
commit
9431ff76d6
5 files changed
-6
No files matched your search
@@ -15,7 +15,6 @@ class Crystal < Formula
|
||||
|
||||
def install
|
||||
ENV.prepend_path "PATH", "#{Formula["node"].opt_libexec}/npm/bin"
|
||||
ENV["HOME"] = "#{buildpath}/.brew_home"
|
||||
|
||||
system "npm", "install"
|
||||
libexec.install Dir["*", ".crystal"]
|
||||
|
||||
@@ -15,7 +15,6 @@ class Kibana < Formula
|
||||
depends_on "node"
|
||||
|
||||
def install
|
||||
ENV["HOME"] = buildpath/".brew_home"
|
||||
ENV.prepend_path "PATH", "#{Formula["node"].opt_libexec}/npm/bin"
|
||||
|
||||
system "npm", "install"
|
||||
|
||||
@@ -54,8 +54,6 @@ 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"
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ class Skinny < Formula
|
||||
|
||||
def install
|
||||
ENV.prepend_path "PATH", "#{Formula["node"].opt_libexec}/npm/bin"
|
||||
ENV["HOME"] = buildpath/".brew_home"
|
||||
|
||||
if build.with? "npm-generator"
|
||||
system "npm", "install", "yo"
|
||||
|
||||
@@ -17,7 +17,6 @@ class Tegh < Formula
|
||||
def install
|
||||
if build.head?
|
||||
ENV.prepend_path "PATH", "#{Formula["node"].opt_libexec}/npm/bin"
|
||||
ENV["HOME"] = buildpath/".brew_home"
|
||||
system "npm", "install"
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user