couchdb: use “squiggly” heredocs.

This commit is contained in:
ilovezfs 2018-02-15 08:11:43 -08:00
parent 18f37d838b
commit 63ba80b4f9

View file

@ -85,10 +85,10 @@ class Couchdb < Formula
geocouch_plist.chmod 0644 geocouch_plist.chmod 0644
inreplace geocouch_plist, "<string>org.apache.couchdb</string>", \ inreplace geocouch_plist, "<string>org.apache.couchdb</string>", \
"<string>geocouch</string>" "<string>geocouch</string>"
inreplace geocouch_plist, "<key>HOME</key>", <<-EOS.lstrip.chop inreplace geocouch_plist, "<key>HOME</key>", <<~EOS.lstrip.chop
<key>ERL_FLAGS</key> <key>ERL_FLAGS</key>
<string>-pa #{linked_geocouch_share}/ebin</string> <string>-pa #{linked_geocouch_share}/ebin</string>
<key>HOME</key> <key>HOME</key>
EOS EOS
inreplace geocouch_plist, "%bindir%/%couchdb_command_name%", \ inreplace geocouch_plist, "%bindir%/%couchdb_command_name%", \
HOMEBREW_PREFIX/"bin/couchdb" HOMEBREW_PREFIX/"bin/couchdb"