From 8917b31055a8078284451e1409bdf89ba8a14e2d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 9 May 2014 10:33:18 -0500 Subject: io: fix audit warning --- Library/Formula/io.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/Formula/io.rb b/Library/Formula/io.rb index 38aa88f80..703a41c8e 100644 --- a/Library/Formula/io.rb +++ b/Library/Formula/io.rb @@ -46,11 +46,11 @@ class Io < Formula "add_subdirectory(addons)", '#add_subdirectory(addons)' else # Turn off specific add-ons that are not currently working - inreplace "addons/CMakeLists.txt" do |addons| + inreplace "addons/CMakeLists.txt" do |s| # Looks for deprecated Freetype header - addons.gsub! /(add_subdirectory\(Font\))/, '#\1' + s.gsub! /(add_subdirectory\(Font\))/, '#\1' # Builds against older version of memcached library - addons.gsub! /(add_subdirectory\(Memcached\))/, '#\1' + s.gsub! /(add_subdirectory\(Memcached\))/, '#\1' end end -- cgit v1.2.3