aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/avanor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/avanor.rb')
-rw-r--r--Library/Formula/avanor.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/avanor.rb b/Library/Formula/avanor.rb
index 741b71239..1cd24637f 100644
--- a/Library/Formula/avanor.rb
+++ b/Library/Formula/avanor.rb
@@ -6,9 +6,9 @@ class Avanor <Formula
md5 '20067962b9635b1789933ddd7933d142'
def install
- inreplace 'Makefile' do |contents|
- contents.gsub! "CC = gpp", "CC = cpp"
- contents.gsub! "LD = gpp", "LD = cpp"
+ inreplace 'Makefile' do |s|
+ s.gsub! "CC = gpp", "CC = cpp"
+ s.gsub! "LD = gpp", "LD = cpp"
end
system "make DATA_DIR=#{share}/avanor/"