diff --git a/Formula/imagemagick.rb b/Formula/imagemagick.rb index d72f0e1dd5c7d..00b123cf8f0a1 100644 --- a/Formula/imagemagick.rb +++ b/Formula/imagemagick.rb @@ -49,7 +49,7 @@ class Imagemagick < Formula def pour_bottle? # If libtool is keg-only it currently breaks the bottle. # This is a temporary workaround until we have a better fix. - not Formula.factory('libtool').keg_only? + not Formula["libtool"].keg_only? end skip_clean :la