diff options
| author | Jack Nagel | 2014-03-15 22:40:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-15 22:40:14 -0500 |
| commit | c84c8b1d0e5cd9759c32ea220359a15e2ba4ad5e (patch) | |
| tree | d8882e105dd281fac2562f4571e0708684d9db53 /Library/Homebrew/patch.rb | |
| parent | e0216d95af90f485d5a44f255dd5f0b62d71c2a6 (diff) | |
| download | brew-c84c8b1d0e5cd9759c32ea220359a15e2ba4ad5e.tar.bz2 | |
Set patch name on initialization
Diffstat (limited to 'Library/Homebrew/patch.rb')
| -rw-r--r-- | Library/Homebrew/patch.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
