Fix #system_dir_symlink? not working when target doesn't exist.

This commit is contained in:
Markus Reiter 2019-10-09 11:15:48 +02:00
parent a05e4c1c0b
commit 9a1e3fbab4

View File

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