Cask: rename no-translocation-bit changer function

This commit is contained in:
L. E. Segovia 2018-09-08 20:20:25 +00:00
parent c7c14e1333
commit 124a8109ce
No known key found for this signature in database
GPG Key ID: D5D1DC48B52B7AD5

View File

@ -55,7 +55,7 @@ module Cask
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
@ -117,7 +117,7 @@ module Cask
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)