From d58c6c207061c762a7429a440792468ea7406eab Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 2 Sep 2018 19:17:16 -0500 Subject: [PATCH] cleanup --- vendor/init.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/init.bat b/vendor/init.bat index b10028e..fb82d2d 100644 --- a/vendor/init.bat +++ b/vendor/init.bat @@ -62,11 +62,11 @@ call "%cmder_root%\vendor\lib\lib_profile" shift ) ) else if /i "%1" == "/git_install_root" ( - if exist "%2\cmd\git.exe" ( + if exist "%2" ( set "GIT_INSTALL_ROOT=%~2" shift ) 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 ) ) else if /i "%1" == "/home" (