elasticsearch: rubocop tweaks.
This commit is contained in:
parent
81a002bf86
commit
4797cd5fe0
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class Elasticsearch < Formula
|
|||
plugin=(build.devel? || build.head?) ? "#{libexec}/bin/elasticsearch-plugin" : "#{libexec}/bin/plugin"
|
||||
inreplace plugin do |s|
|
||||
# Add the proper ES_CLASSPATH configuration
|
||||
s.sub!(/SCRIPT="\$0"/, %(SCRIPT="$0"\nES_CLASSPATH=#{libexec}/lib))
|
||||
s.sub!(/SCRIPT="\$0"/, %Q(SCRIPT="$0"\nES_CLASSPATH=#{libexec}/lib))
|
||||
# Replace paths to use libexec instead of lib
|
||||
s.gsub!(%r{\$ES_HOME/lib/}, "$ES_CLASSPATH/")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue