diff options
| author | Jack Nagel | 2014-03-15 22:40:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-15 22:40:14 -0500 |
| commit | 728206df4aa3bd4b4388751a492235f246579c6f (patch) | |
| tree | 2fb15fb29c7128ad43d46fd971feb43fb2259505 /Library | |
| parent | a6057204aa348339c0185a9b1b4650bc69d87968 (diff) | |
| download | homebrew-728206df4aa3bd4b4388751a492235f246579c6f.tar.bz2 | |
Set patch name on initialization
Diffstat (limited to 'Library')
| -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 |
