fixup_bundle fails on `/private/tmp` on macOS
If you call fixup_bundle
on a path that starts with /private/tmp
(for example, if you used REALPATH
on a path in /tmp
), fixup_bundle
will hit this error with the exe_dotapp_dir
using /private/tmp
and the resolved_embedded_item
using /tmp
.
From what I can tell, this is due to how get_filename_component ABSOLUTE
(which BundleUtilities uses to get the resolved_embedded_item
) works due to this special case (which makes it convert /private/tmp
back to /tmp
)