flume: fix shell quoting and ENV variable
Closes Homebrew/homebrew#9689. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
98f39cfd29
commit
e9149cb019
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue