-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unable to update on Windows #1087
Comments
Interesting. I am not familiar with mingw environment. Maybe you can add |
It looks like an issue with word splitting. |
This is the output:
|
If I remove the "$prefix" from the "./install.cmd" command line (I don't need specify anything when I manually installed git-extras), this is the output:
|
This is the directory that the script needed to copy the files: "C:\Program Files\Git\mingw64\bin"! Running the "install.cmd" on the powershell, it works fine! But running using "git extras update" not! Thanks. |
I noticed another thing: Running the install script manually, it try to copy the files on the path "C:\Program Files\Git\mingw64\bin" Thanks |
So the problem is inside the cmd script. |
Yes, my username is "Rafael Dominiquini"
Probably! Running this script (install.cmd) on Powershell installs the application correctly! Thanks |
I was able to reproduce it, but after fiddling trying to fix it, I get a different error: C:\Program Files\Git\mingw64\bin\git-extras: line 23: ::::::::::::::: command not found
C:\Program Files\Git\mingw64\bin\git-extras: line 24: C:cygwin64tmpgit-extras\bingit-extras: No such file or directory
C:\Program Files\Git\mingw64\bin\git-extras: line 25: ::::::::::::::: command not found
Setting up 'git-extras'....
Using git install path "C:/Program Files/Git/mingw64" as PREFIX, please make sure it's really a
path to the mingw64 directory...
Installing to C:/Program Files/Git/mingw64
Directory for binaries ["C:/Program Files/Git/mingw64\bin"] is not writeable by install.cmd.
You probably need to run install.cmd from an admin prompt.
C:\Program Files\Git\mingw64\bin\git-extras: line 23: ::::::::::::::: command not found
C:\Program Files\Git\mingw64\bin\git-extras: line 24: C:cygwin64tmpgit-extras\bingit-extras: No such file or directory
C:\Program Files\Git\mingw64\bin\git-extras: line 25: ::::::::::::::: command not found
... updated git-extras 7.1.0 -> 7.1.0 I ran this in Windows with both PowerShell and cmd, and both worked. But, the issue only popped up when I was using Cygwin. So I think the issue might be Cygwin-related |
I'm unable to update git-extras using the command "git extras update" on Windows 10:
My home folder is: "C:\Users\Rafael Dominiquini"
My git is installed on: "C:\Program Files\Git"
I was able to update the program using the installation method:
Thanks
The text was updated successfully, but these errors were encountered: