Skip to content

Commit

Permalink
Merge pull request #1416 from gucong3000/patch-1
Browse files Browse the repository at this point in the history
Compatible with Visual Studio Code (cmd)
  • Loading branch information
MartiUK authored Nov 29, 2017
2 parents 9d6e5c1 + 2500593 commit ee4f85d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vendor/init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ if not defined verbose-output ( set verbose-output=0 )

:: Find root dir
if not defined CMDER_ROOT (
for /f "delims=" %%i in ("%ConEmuDir%\..\..") do set "CMDER_ROOT=%%~fi"
if defined ConEmuDir (
for /f "delims=" %%i in ("%ConEmuDir%\..\..") do set "CMDER_ROOT=%%~fi"
) else (
for /f "delims=" %%i in ("%~dp0\..") do set "CMDER_ROOT=%%~fi"
)
)

:: Remove trailing '\'
Expand Down

0 comments on commit ee4f85d

Please sign in to comment.