git-credential-manager
git-credential-manager copied to clipboard
curl install gives error on ubuntu
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
Same issue here
same issue here EDIT: I got it to work by sending the script to a file, give that execute permissions, then executing it.
Is this still an issue after #1469 was committed?