jsoftware / jinstall

J installers
0 stars 0 forks source link

Recur manually in macos-fix.command #1

Open jasonhemann opened 8 months ago

jasonhemann commented 8 months ago

Some versions of xattr don't have the -r option, and so it'd be better to loop manually over the options and xattr them one at a time. If someone has /opt/homebrew/bin/ before /usr/bin/ on their path, this will likely cause the install command to break.

https://github.com/jsoftware/jinstall/blob/9b8e41296105c41d294f28e8707319e3c466de2c/mac/macos-fix.command#L7

cdburke commented 8 months ago

Thanks for pointing this out. We will change the call to use the full path, i.e.

/usr/bin/xattr -rc *

On Thu, Feb 29, 2024 at 7:00 AM Jason Hemann @.***> wrote:

Some versions of xattr don't have the -r option, and so it'd be better to loop manually over the options and xattr them one at a time. If someone has /opt/homebrew/bin/ before /usr/bin/ on their path, this will likely cause the install command to break.

https://github.com/jsoftware/jinstall/blob/9b8e41296105c41d294f28e8707319e3c466de2c/mac/macos-fix.command#L7

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>