mirror of https://github.com/einverne/dotfiles.git
				
				
			
				 2 changed files with 19 additions and 2 deletions
			
			
		@ -0,0 +1,12 @@ | 
				
			|||||||
 | 
					@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 %* | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue