From c84c8b1d0e5cd9759c32ea220359a15e2ba4ad5e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 15 Mar 2014 22:40:14 -0500 Subject: Set patch name on initialization --- Library/Homebrew/patch.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library/Homebrew/patch.rb') diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb index f648cfc7b..dbb2da843 100644 --- a/Library/Homebrew/patch.rb +++ b/Library/Homebrew/patch.rb @@ -88,13 +88,12 @@ class ExternalPatch < Patch def initialize(strip, &block) @strip = strip - @resource = Resource.new(&block) + @resource = Resource.new("patch", &block) @whence = :resource end def owner= owner resource.owner = owner - resource.name = "patch" resource.version = resource.checksum || ERB::Util.url_encode(resource.url) end -- cgit v1.2.3