mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 17:32:27 +08:00 
			
		
		
		
	allow conditionally setting environment variables
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/bin/cexec.cmd
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/bin/cexec.cmd
									
									
									
									
										vendored
									
									
								
							| @@ -55,12 +55,12 @@ set "feFlagName=%feFlagName% " | |||||||
| echo %CMDER_USER_FLAGS% | find /i "%feFlagName%">nul | echo %CMDER_USER_FLAGS% | find /i "%feFlagName%">nul | ||||||
| if "%ERRORLEVEL%" == "0" ( | if "%ERRORLEVEL%" == "0" ( | ||||||
|   if "%feNOT%" == "false" ( |   if "%feNOT%" == "false" ( | ||||||
|     call %feCommand% %feParam% |     endlocal && call %feCommand% %feParam% | ||||||
|     exit /b 0 |     exit /b 0 | ||||||
|   ) |   ) | ||||||
| ) else ( | ) else ( | ||||||
|   if "%feNOT%" == "true" ( |   if "%feNOT%" == "true" ( | ||||||
|     call %feCommand% %feParam% |     endlocal && call %feCommand% %feParam% | ||||||
|     exit /b 0 |     exit /b 0 | ||||||
|   ) |   ) | ||||||
| ) | ) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user