aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-06-17 17:43:48 -0500
committerJack Nagel2012-06-17 17:55:54 -0500
commit7f46bb9a49064539112abdd715f7c50fcc00d078 (patch)
treede32bf1fd9e6672ba1eeaa146510206200e6264c /Library/Formula
parent3d449f97ad4b6d39f7ebd86926ca7dcffbf42562 (diff)
downloadhomebrew-7f46bb9a49064539112abdd715f7c50fcc00d078.tar.bz2
luciddb: set ENV[..] instead of using export
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/luciddb.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/luciddb.rb b/Library/Formula/luciddb.rb
index df5635c61..47aab716c 100644
--- a/Library/Formula/luciddb.rb
+++ b/Library/Formula/luciddb.rb
@@ -19,7 +19,8 @@ class Luciddb < Formula
cd libexec/'install' do
# install.sh just sets Java classpaths and writes them to bin/classpath.gen.
# This is why we run it /after/ copying all the files to #{libexec}.
- system "export JAVA_HOME=\"#{java_home}\" && ./install.sh"
+ ENV['JAVA_HOME'] = java_home
+ system "./install.sh"
end
Dir["#{libexec}/bin/*"].each do |b|
next if b =~ /classpath.gen/ or b =~ /defineFarragoRuntime/