mirror of
https://github.com/cmderdev/cmder.git
synced 2025-04-18 23:52:31 +08:00
cleanup
This commit is contained in:
parent
06c7cc969c
commit
d58c6c2070
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" (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user