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

curl install gives error on ubuntu #1597

Open
TOliverKocsis opened this issue Apr 24, 2024 · 2 comments
Open

curl install gives error on ubuntu #1597

TOliverKocsis opened this issue Apr 24, 2024 · 2 comments

Comments

@TOliverKocsis
Copy link

Hi, I tried folowing the install instructions in the readme: https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/install.md#install-from-source-helper-script
I installed curl.
Then tried: $ curl -L https://aka.ms/gcm/linux-install-source.sh | sh
I get the folowing output:

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
This script will download, compile, and install Git Credential Manager to:

/usr/local/bin

Git Credential Manager is licensed under the MIT License: https://aka.ms/gcm/license
100 7552 100 7552 0 0 38867 0 --:--:-- --:--:-- --:--:-- 38867
Please answer yes or no.
Please answer yes or no.
Please answer yes or no.
Please answer yes or no.
Please answer yes or no.
Please answer yes or no.
Please answer yes or no.
Please answer yes or no.
Please answer yes or no.
Please answer yes or no.
sh: 170: Syntax error: "fi" unexpected (expecting "then")

My system: Ubuntu 22.04.4 LTS
GNOME Version: 42.9

@amasciotta
Copy link

Same issue here

@NoahBardwell
Copy link

NoahBardwell commented May 8, 2024

same issue here
EDIT:
I got it to work by sending the script to a file, give that execute permissions, then executing it.

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

4 participants
@amasciotta @TOliverKocsis @NoahBardwell and others