mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 17:32:27 +08:00 
			
		
		
		
	fix lib_path
This commit is contained in:
		
							
								
								
									
										3
									
								
								vendor/lib/lib_path.cmd
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/lib/lib_path.cmd
									
									
									
									
										vendored
									
									
								
							| @@ -32,6 +32,7 @@ exit /b | ||||
| :::options: | ||||
| ::: | ||||
| :::  append     <in> Append to the path env variable rather than pre-pend. | ||||
| ::B | ||||
| ::: | ||||
| :::output: | ||||
| ::: | ||||
| @@ -168,7 +169,7 @@ exit /b | ||||
|         set "position=" | ||||
|     ) | ||||
|  | ||||
|     dir "%add_path%" >NUL | findstr -i "\.COM \.EXE \.BAT \.CMD \.PS1 \.VBS" >NUL | ||||
|     dir "%add_path%" 2>NUL | findstr -i "\.COM \.EXE \.BAT \.CMD \.PS1 \.VBS" >NUL | ||||
|  | ||||
|     if "%ERRORLEVEL%" == "0" ( | ||||
|         set "add_to_path=%add_path%" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user