-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix missing Tarsnap command-line utilities #202
Conversation
@shawwn The reason is that |
Need to be thoughtful with adding default fall-back to /usr/local/bin, since Tarsnap GUI has to be considerate of all Unices, not just macOS. :) |
People still use unix? Mostly joking. |
I think https://stackoverflow.com/questions/9832770/where-is-the-default-terminal-path-located-on-mac The value of /etc/paths is:
|
Not for GUI desktop apps. |
Ah, this was assuming |
Heh, this exposes an amusing series of errors (mostly on my part). I was puzzled as to why this wasn't failing the tests, but I discovered:
If the |
Ah, small correction -- the fallback to Alternatively, we could fix |
I have an idea for |
Thanks for this PR! I'm closing it because it's been obsoleted by #204, but the discussion here was instrumental in creating that PR. |
Closes #168
I'm not absolutely certain this will fix #168, but I'm reasonably
certain.
I ran into the bug again tonight on a clean macOS laptop. The core
issue seems to be that this line is returning an empty string for
fresh installations of Tarsnap:
Rather than hunt down why it's empty, I just fall back to
/usr/local/bin
if it is.