quarantine: do not automatically follow symlinks
This prevents failure when Casks have broken framework symlinks.
This commit is contained in:
parent
47d3bbee1c
commit
4c47a4b76d
@ -69,7 +69,7 @@ module Hbc
|
|||||||
quarantine_status = status(from, command: command)
|
quarantine_status = status(from, command: command)
|
||||||
|
|
||||||
quarantiner = command.run("/usr/bin/xattr",
|
quarantiner = command.run("/usr/bin/xattr",
|
||||||
args: ["-w", "-r", QUARANTINE_ATTRIBUTE, quarantine_status, to],
|
args: ["-w", "-rs", QUARANTINE_ATTRIBUTE, quarantine_status, to],
|
||||||
print_stderr: false)
|
print_stderr: false)
|
||||||
|
|
||||||
return if quarantiner.success?
|
return if quarantiner.success?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user