mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-11-04 11:22:13 +08:00 
			
		
		
		
	cleanup
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							@@ -62,11 +62,11 @@ call "%cmder_root%\vendor\lib\lib_profile"
 | 
				
			|||||||
            shift
 | 
					            shift
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
    ) else if /i "%1" == "/git_install_root" (
 | 
					    ) else if /i "%1" == "/git_install_root" (
 | 
				
			||||||
        if exist "%2\cmd\git.exe" (
 | 
					        if exist "%2" (
 | 
				
			||||||
            set "GIT_INSTALL_ROOT=%~2"
 | 
					            set "GIT_INSTALL_ROOT=%~2"
 | 
				
			||||||
            shift
 | 
					            shift
 | 
				
			||||||
        ) else (
 | 
					        ) else (
 | 
				
			||||||
            %lib_console% show_error "The Git install root folder "%~2\cmd\git.exe", you specified does not exist!"
 | 
					            %lib_console% show_error "The Git install root folder "%~2", you specified does not exist!"
 | 
				
			||||||
            exit /b
 | 
					            exit /b
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
    ) else if /i "%1" == "/home" (
 | 
					    ) else if /i "%1" == "/home" (
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user