From 6f6c21dcae51bbeaee0ce90efdf8da6270f285f5 Mon Sep 17 00:00:00 2001 From: David Refoua Date: Thu, 6 Nov 2025 18:23:10 +0330 Subject: [PATCH] add missing prefix --- vendor/lib/lib_path.cmd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vendor/lib/lib_path.cmd b/vendor/lib/lib_path.cmd index 7edb2f5..4415388 100644 --- a/vendor/lib/lib_path.cmd +++ b/vendor/lib/lib_path.cmd @@ -119,7 +119,8 @@ exit /b :end_enhance_path set "PATH=%PATH:;;=;%" - REM echo %PATH%|wc -c + REM echo %path%|wc -c + if "%fast_init%" == "1" exit /b if not "%OLD_PATH:~0,3000%" == "%OLD_PATH:~0,3001%" goto :toolong @@ -135,7 +136,7 @@ exit /b echo "%OLD_PATH%">"%temp%\%_rand%_cmder_lib_pathA" if errorlevel 1 ( if exist "%temp%\%_rand%_cmder_lib_pathA" del "%temp%\%_rand%_cmder_lib_pathA" & goto :toolong ) echo "%PATH%">"%temp%\%_rand%_cmder_lib_pathB" - 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 ) + 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 ) fc /b "%temp%\%_rand%_cmder_lib_pathA" "%temp%\%_rand%_cmder_lib_pathB" 2>nul 1>nul if errorlevel 1 ( del "%temp%\%_rand%_cmder_lib_pathA" & del "%temp%\%_rand%_cmder_lib_pathB" & set "_rand=" & goto :changed ) del "%temp%\%_rand%_cmder_lib_pathA" & del "%temp%\%_rand%_cmder_lib_pathB" & set "_rand="