aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTravis Dempsey2012-01-20 12:09:40 -0600
committerJack Nagel2012-01-20 12:21:43 -0600
commit1d696820dd63c4d1d68ea79641cf27de4a5c6112 (patch)
treeca619761045a747781e831e4e91e37185a3df838 /Library/Formula
parent48699cf297981703d30cac66afb5488d72da90dc (diff)
downloadhomebrew-1d696820dd63c4d1d68ea79641cf27de4a5c6112.tar.bz2
flume: fix shell quoting and ENV variable
Closes #9689. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/flume.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/flume.rb b/Library/Formula/flume.rb
index 84d9a615b..33582fcd4 100644
--- a/Library/Formula/flume.rb
+++ b/Library/Formula/flume.rb
@@ -9,8 +9,8 @@ class Flume < Formula
def flume_script
<<-EOS.undent
#!/bin/bash
- export FLUME_CONF_DIR=#{libexec}/conf
- exec #{libexec}/bin/flume $@
+ export FLUME_CONF_DIR=${FLUME_CONF_DIR-#{libexec}/conf}
+ exec #{libexec}/bin/flume "$@"
EOS
end