Merge pull request #6541 from amyspark/fix-mojave-symlinks

Fix symlink validation in Mojave
This commit is contained in:
Markus Reiter 2019-10-07 03:03:53 +02:00 committed by GitHub
commit aa0cf03454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ module UnpackStrategy
# symlinks to system directories (commonly to /Applications)
def system_dir_symlink?
symlink? && MacOS.system_dir?(readlink)
symlink? && MacOS.system_dir?(realpath)
end
def bom