Skip to content
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

Automatic install failed on MacOS #64

Closed
mint-rabi opened this issue Nov 15, 2021 · 6 comments
Closed

Automatic install failed on MacOS #64

mint-rabi opened this issue Nov 15, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@mint-rabi
Copy link

Describe the bug
When I run Automatic Install, the "mktemp" command exits with illegal options.

Zinit config
No

Expected behavior
Automatic install success.

Screenshots (optional)
No

Versions:

  • $ZSH_VERSION == zsh 5.8 (x86_64-apple-darwin20.0)
  • Operating system name and version (uname -a): Darwin mintrabi.local 20.6.0 Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:42 PDT 2021; root:xnu-7195.141.8~1/RELEASE_X86_64 x86_64

Additional context
#43

@alichtman
Copy link
Member

Can you paste the error output?

@mint-rabi
Copy link
Author

Yes!

% sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma-continuum/zinit/master/doc/install.sh)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma-continuum/zinit/master/doc/install.sh)"
mktemp: illegal option -- -
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix
Tempdir creation failed. This ain't good.

@seagle0128
Copy link

Just use mktemp -d instead of mktemp --directory.

@alichtman
Copy link
Member

alichtman commented Nov 15, 2021

Just use mktemp -d instead of mktemp --directory.

Edit: yeah, should work. Ignore my previous comment, doesn't apply in this context

Just merged #65

@pschmitt
Copy link
Member

That one is on me.

To redeem myself I've added a CI workflow to #61 to test the installer on linux and macOS

@pschmitt pschmitt added the bug Something isn't working label Nov 15, 2021
@alichtman
Copy link
Member

+1 for better CI. Mistakes happen, good to catch them early

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants