Skip to content

Commit 6f6c21d

Browse files
authored
add missing prefix
1 parent f6bc623 commit 6f6c21d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vendor/lib/lib_path.cmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ exit /b
119119
:end_enhance_path
120120
set "PATH=%PATH:;;=;%"
121121

122-
REM echo %PATH%|wc -c
122+
REM echo %path%|wc -c
123+
123124
if "%fast_init%" == "1" exit /b
124125

125126
if not "%OLD_PATH:~0,3000%" == "%OLD_PATH:~0,3001%" goto :toolong
@@ -135,7 +136,7 @@ exit /b
135136
echo "%OLD_PATH%">"%temp%\%_rand%_cmder_lib_pathA"
136137
if errorlevel 1 ( if exist "%temp%\%_rand%_cmder_lib_pathA" del "%temp%\%_rand%_cmder_lib_pathA" & goto :toolong )
137138
echo "%PATH%">"%temp%\%_rand%_cmder_lib_pathB"
138-
if errorlevel 1 ( if exist "%temp%\%_rand%_cmder_lib_pathA" del "%temp%\%_rand%_cmder_lib_pathA" & if exist "%temp%\%_cmder_lib_pathB" del "%temp%\%_rand%_cmder_lib_pathB" & goto :toolong )
139+
if errorlevel 1 ( if exist "%temp%\%_rand%_cmder_lib_pathA" del "%temp%\%_rand%_cmder_lib_pathA" & if exist "%temp%\%_rand%_cmder_lib_pathB" del "%temp%\%_rand%_cmder_lib_pathB" & goto :toolong )
139140
fc /b "%temp%\%_rand%_cmder_lib_pathA" "%temp%\%_rand%_cmder_lib_pathB" 2>nul 1>nul
140141
if errorlevel 1 ( del "%temp%\%_rand%_cmder_lib_pathA" & del "%temp%\%_rand%_cmder_lib_pathB" & set "_rand=" & goto :changed )
141142
del "%temp%\%_rand%_cmder_lib_pathA" & del "%temp%\%_rand%_cmder_lib_pathB" & set "_rand="

0 commit comments

Comments
 (0)