This commit is contained in:
Dax T. Games 2018-09-02 19:17:16 -05:00
parent 06c7cc969c
commit d58c6c2070

4
vendor/init.bat vendored
View File

@ -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" (