diff options
author | Victor "Nate" Graf <nategraf1@gmail.com> | 2017-08-11 15:10:29 -0700 |
---|---|---|
committer | Dan Moseley <danmose@microsoft.com> | 2017-08-11 15:10:29 -0700 |
commit | 7ef5ec77df1f0cfd8133c00b97c1b5c416d9a5e6 (patch) | |
tree | 9eff65ba0d6ccab4faf5465416ec6791b33d3c6e /build.cmd | |
parent | 6bd6faa54499db929dba13110a23f80dbee07174 (diff) | |
download | coreclr-7ef5ec77df1f0cfd8133c00b97c1b5c416d9a5e6.tar.gz coreclr-7ef5ec77df1f0cfd8133c00b97c1b5c416d9a5e6.tar.bz2 coreclr-7ef5ec77df1f0cfd8133c00b97c1b5c416d9a5e6.zip |
Fix bug where whitespace breaks arg proccessing (#13320)
* Fix bug where whitespace breaks arg proccessing
* Fix whitespace proccessing bug in buil-text.cmd
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -155,9 +155,12 @@ if /i "%1" == "buildstandalonegc" ( if /i "%1" == "altjitcrossgen" (set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) if [!processedArgs!]==[] ( - call set __UnprocessedBuildArgs=!__args! + set __UnprocessedBuildArgs=%__args% ) else ( - call set __UnprocessedBuildArgs=%%__args:*!processedArgs!=%% + set __UnprocessedBuildArgs=%__args% + for %%t in (!processedArgs!) do ( + set __UnprocessedBuildArgs=!__UnprocessedBuildArgs:*%%t=! + ) ) :ArgsDone |