gearman: fix `brew style` warning.
parent
2630a465c1
commit
2b5d62f4a8
|
@ -34,7 +34,7 @@ class Gearman < Formula
|
|||
def install
|
||||
# https://bugs.launchpad.net/gearmand/+bug/1368926
|
||||
Dir["tests/**/*.cc", "libtest/main.cc"].each do |test_file|
|
||||
next unless /std::unique_ptr/ === File.read(test_file)
|
||||
next unless /std::unique_ptr/ =~ File.read(test_file)
|
||||
inreplace test_file, "std::unique_ptr", "std::auto_ptr"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue