git-credential-manager icon indicating copy to clipboard operation
git-credential-manager copied to clipboard

Install from source helper script bug

Open sethupavan12 opened this issue 10 months ago • 7 comments

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 ";;")

sethupavan12 avatar Apr 11 '24 10:04 sethupavan12

 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 avatar Jun 04 '24 11:06 Yulinsopie

Uploading 103254.jpg…

Yulinsopie avatar Jun 04 '24 11:06 Yulinsopie

/yulin/sopie

Yulinsopie avatar Jun 04 '24 11:06 Yulinsopie

Ia

Yulinsopie avatar Jun 04 '24 11:06 Yulinsopie

  • [ ]

Yulinsopie avatar Jun 04 '24 11:06 Yulinsopie

#_ Duplikat dari #_

Yulinsopie avatar Jun 04 '24 11:06 Yulinsopie

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

dscho avatar Jun 11 '24 12:06 dscho