-
-
Save gmarik/912993 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rem Do not use "echo off" to not affect any child calls. | |
@setlocal | |
@rem Get the abolute path to the parent directory, which is assumed to be the | |
@rem Git installation root. | |
@for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI | |
@set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH% | |
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH% | |
@if not exist "%HOME%" @set HOME=%USERPROFILE% | |
@curl.exe %* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so much for releasing this it worked perfectly on my laptop, however i tried setting it up on my desktop and it constantly says that it is incompatible claiming it is a 16 bit program i made sure my system was 64 bit which it was and changed the line to
@set PATH=%git_install_root%\bin;%git_install_root%\mingw64\bin;%PATH%
but it doesn't make a difference is there something else i have to change as well, I am a bit confused seeing as how it worked just fine on my laptop.