git-ecosystem / git-credential-manager

Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
Other
6.59k stars 1.71k forks source link

Install from source helper script bug #1577

Open sethupavan12 opened 4 months ago

sethupavan12 commented 4 months ago

Hello,

I've tried to install git-credential-manager using the install from source helper script by following this and it failed with a Syntax error. Bit strange but here's the output.

Screenshot image

Error

 home
❯_: curl -L https://aka.ms/gcm/linux-install-source.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  7233  100  7233    0     0   8390      0This 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
 --:--:-- --:--:-- --:--:-- 48220
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: 169: Syntax error: "fi" unexpected (expecting ";;")
Yulinsopie commented 2 months ago

 home ❯_: curl -L https://aka.ms/gcm/linux-install-source.sh | sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7233 100 7233 0 0 8390 0This 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 --:--:-- --:--:-- --:--:-- 48220 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: 169: Syntax error: "fi" unexpected (expecting ";;")

Yulinsopie commented 2 months ago

![Uploading 103254.jpg…]()

Yulinsopie commented 2 months ago

/yulin/sopie

Yulinsopie commented 2 months ago

Ia

Yulinsopie commented 2 months ago
Yulinsopie commented 2 months ago

`_

Duplikat dari #_`

dscho commented 2 months ago

Is this still an issue after https://github.com/git-ecosystem/git-credential-manager/pull/1469 was committed?