remove env variable list when error occurs.

syntax.
This commit is contained in:
2018-05-22 09:11:38 +02:00
parent 6dc8f6a7b7
commit 37f5f8457d
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ REM Should be called by `make_exes.btm'
cdd %EIFFEL_SRC cdd %EIFFEL_SRC
remtrace Compiling .NET runtime remtrace Compiling .NET runtime
cd %EIFFEL_SRC\Eiffel\eiffel\com_il_generation\core\run-time cd %EIFFEL_SRC%\Eiffel\eiffel\com_il_generation\core\run-time
espawn -u:%ISE_C_COMPILER_VER% "%COMSPEC% /c nmake msbuild_20" espawn -u:%ISE_C_COMPILER_VER% "%COMSPEC% /c nmake msbuild_20"
iff exist EiffelSoftware.Runtime.dll then iff exist EiffelSoftware.Runtime.dll then
safe_copy EiffelSoftware.Runtime.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib safe_copy EiffelSoftware.Runtime.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib

View File

@@ -35,7 +35,7 @@ alias set_parent_dir_of `for %%a in ("%2") do set "%1=%%~dpa%%"`
REM Helpers for the script REM Helpers for the script
REM Give some info on what's happening, both in the log and on the screen REM Give some info on what's happening, both in the log and on the screen
alias remtrace `echo %$ & echo -------------------------------- & echo -------------------------------- >>& %INSTALL_LOG & echo %$ >>& %INSTALL_LOG` alias remtrace `echo %$ & echo -------------------------------- & echo -------------------------------- >>& %INSTALL_LOG & echo %$ >>& %INSTALL_LOG`
alias remerror `remtrace ERROR %$ & echo -------------------------------- >>& %ERROR_LOG% & echo %$ >>& %ERROR_LOG & set >>& %ERROR_LOG & echo ======================== >>& %ERROR_LOG ` alias remerror `remtrace ERROR %$ & echo -------------------------------- >>& %ERROR_LOG% & echo %$ >>& %ERROR_LOG & echo ======================== >>& %ERROR_LOG `
REM Give info concerning the elapsed time REM Give info concerning the elapsed time
alias give_time_to `remtrace time used to %$: & remtrace %@TIMER[1] & TIMER ON /1 >> NUL` alias give_time_to `remtrace time used to %$: & remtrace %@TIMER[1] & TIMER ON /1 >> NUL`
REM Clean exit REM Clean exit