remove unnecessary ENV["HOME"] overwrite

This commit is contained in:
Xu Cheng committed 2015-08-18 20:38:06 +08:00
1 parent a4ad985a2f
commit 9431ff76d6
5 files changed
-6

No files matched your search

-1
View File
@@ -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"]
-1
View File
@@ -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"
-2
View File
@@ -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"
-1
View File
@@ -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"
-1
View File
@@ -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