Merge pull request #7549 from Bo98/resource-fetch

resource: restore fetch in stage
This commit is contained in:
Bo Anderson 2020-05-12 04:12:52 +01:00 committed by GitHub
commit a30de680b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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)