diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2017-03-17 14:45:47 -0700 |
---|---|---|
committer | Bruce Forstall <brucefo@microsoft.com> | 2017-03-17 14:45:47 -0700 |
commit | 80ac68992bba5ea8be8e082e4442612f95290eb3 (patch) | |
tree | e68bbb15f48f2cf6d82421d3340d281127c822b8 /build.cmd | |
parent | 1b64c03493a4b7e4336f0dabbdf4ed980f0d109c (diff) | |
download | coreclr-80ac68992bba5ea8be8e082e4442612f95290eb3.tar.gz coreclr-80ac68992bba5ea8be8e082e4442612f95290eb3.tar.bz2 coreclr-80ac68992bba5ea8be8e082e4442612f95290eb3.zip |
Fix build.cmd "all" to work with pass-through args again
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -117,7 +117,11 @@ if /i "%1" == "release" (set __BuildTypeRelease=1&set processedArgs= REM All arguments after this point will be passed through directly to build.cmd on nested invocations REM using the "all" argument, and must be added to the __PassThroughArgs variable. -set __PassThroughArgs=%__PassThroughArgs% %1 +if [!__PassThroughArgs!]==[] ( + set __PassThroughArgs=%1 +) else ( + set __PassThroughArgs=%__PassThroughArgs% %1 +) if /i "%1" == "freebsdmscorlib" (set __BuildNativeCoreLib=0&set __BuildNative=0&set __BuildTests=0&set __BuildPackages=0&set __BuildOS=FreeBSD&set __SkipNugetPackage=1&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) if /i "%1" == "linuxmscorlib" (set __BuildNativeCoreLib=0&set __BuildNative=0&set __BuildTests=0&set __BuildPackages=0&set __BuildOS=Linux&set __SkipNugetPackage=1&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) |