Skip to content

Commit

Permalink
Cask: rename no-translocation-bit changer function
Browse files Browse the repository at this point in the history
  • Loading branch information
amyspark committed Sep 8, 2018
1 parent c7c14e1 commit 124a810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/cask/quarantine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def status(file)
print_stderr: false).stdout.rstrip
end

def disable_translocation!(xattr)
def toggle_no_translocation_bit(xattr)
fields = xattr.split(";")

# Fields: status, epoch, download agent, event ID
Expand Down Expand Up @@ -117,7 +117,7 @@ def propagate(from: nil, to: nil)

odebug "Propagating quarantine from #{from} to #{to}"

quarantine_status = disable_translocation!(status(from))
quarantine_status = toggle_no_translocation_bit(status(from))

resolved_paths = Pathname.glob(to/"**/*", File::FNM_DOTMATCH)

Expand Down

0 comments on commit 124a810

Please sign in to comment.