Merge pull request #7549 from Bo98/resource-fetch
resource: restore fetch in stage
This commit is contained in:
commit
a30de680b9
@ -1160,7 +1160,6 @@ class Formula
|
||||
# @private
|
||||
def brew
|
||||
@prefix_returns_versioned_prefix = true
|
||||
active_spec.fetch
|
||||
stage do |staging|
|
||||
staging.retain! if Homebrew.args.keep_tmp?
|
||||
prepare_patches
|
||||
|
@ -70,6 +70,7 @@ class Resource
|
||||
def stage(target = nil, &block)
|
||||
raise ArgumentError, "target directory or block is required" unless target || block
|
||||
|
||||
fetch
|
||||
prepare_patches
|
||||
|
||||
unpack(target, &block)
|
||||
|
Loading…
x
Reference in New Issue
Block a user