Merge pull request #6566 from reitermarkus/realpath
Fix `#system_dir_symlink?` not working when target doesn't exist.
This commit is contained in:
commit
3f6ee8ba6b
@ -29,7 +29,7 @@ module UnpackStrategy
|
|||||||
|
|
||||||
# symlinks to system directories (commonly to /Applications)
|
# symlinks to system directories (commonly to /Applications)
|
||||||
def system_dir_symlink?
|
def system_dir_symlink?
|
||||||
symlink? && MacOS.system_dir?(realpath)
|
symlink? && MacOS.system_dir?(dirname.join(readlink))
|
||||||
end
|
end
|
||||||
|
|
||||||
def bom
|
def bom
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user