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

fuelup version tag isn't picked up correctly #40

Closed
Tracked by #41
kayagokalp opened this issue May 28, 2022 · 1 comment · Fixed by #42
Closed
Tracked by #41

fuelup version tag isn't picked up correctly #40

kayagokalp opened this issue May 28, 2022 · 1 comment · Fixed by #42
Labels
bug Something isn't working P: Critical

Comments

@kayagokalp
Copy link
Member

Executing the following on my MBA M1

curl --proto '=https' --tlsv1.2 -sSf https://fuellabs.github.io/fuelup/fuelup-init.sh | sh -s install

was resulting in the following:

cut: illegal option -- -
usage: cut -b list [-n] [file ...]
       cut -c list [file ...]
       cut -f list [-s] [-d delim] [file ...]
info: downloading installer
curl: (22) The requested URL returned error: 404 
fuelup: command failed: downloader https://github.com/FuelLabs/fuelup/releases/download/v/fuelup--aarch64-apple-darwin.tar.gz /var/folders/dr/s22m32g96ksgthk_4kby3mrh0000gn/T/tmp.FAirxTJB/fuelup.tar.gz aarch64-apple-darwin

by @binggh suggestion : changing cut -c 1 --complement to cut -c 2- in fuelup-init.sh seems like doing the trick.

@kayagokalp kayagokalp added the bug Something isn't working label May 28, 2022
@adlerjohn
Copy link
Contributor

Interesting, I guess M1s don't have --complement for cut!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P: Critical
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants