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

Installation script failure in WSL bash #71

Closed
parkerault opened this issue Feb 26, 2019 · 3 comments
Closed

Installation script failure in WSL bash #71

parkerault opened this issue Feb 26, 2019 · 3 comments

Comments

@parkerault
Copy link

parkerault commented Feb 26, 2019

Using the install script with flags causes the installation script to fail in WSL ubuntu 18.04.

curl https://raw.githubusercontent.com/Schniz/fnm/master/.ci/install.sh | bash --install-dir "/home/user/.local/bin" --skip-shell
bash: --install-dir: invalid option
Usage:  bash [GNU long option] [option] ...
        bash [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -ilrsD or -c command or -O shopt_option         (invocation only)
        -abefhkmnptuvxBCHP or -o option
@parkerault
Copy link
Author

Also, WSL ubuntu doesn't come with unzip, but does come with tar 🤷‍♂️

I think using tar bundles for the linux dist seems more conventional, right?

@Schniz
Copy link
Owner

Schniz commented Feb 26, 2019

Hi, theres a typo in the installation script. I have updated the readme in #70. Sorry about that!

@Schniz
Copy link
Owner

Schniz commented Feb 26, 2019

About tar, I’m not sure if it works with zip files, because Azure pipelines stores zip files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants