diff options
author | Matt Mitchell <mmitche@microsoft.com> | 2017-11-09 16:02:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-09 16:02:30 -0800 |
commit | f1939c90aed599c107b44ef26b5db5b417860ed4 (patch) | |
tree | 0454989e6577c371c81c2022aac750d308e550ce | |
parent | 82313837846b6ae7a67eab99a5588845e5908542 (diff) | |
download | coreclr-f1939c90aed599c107b44ef26b5db5b417860ed4.tar.gz coreclr-f1939c90aed599c107b44ef26b5db5b417860ed4.tar.bz2 coreclr-f1939c90aed599c107b44ef26b5db5b417860ed4.zip |
Fix clean.cmd to work if no parameters are passed (#14969)
-rw-r--r-- | clean.cmd | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2,9 +2,11 @@ setlocal EnableDelayedExpansion set NO_DASHES_ARG=%1 +if not defined NO_DASHES_ARG goto no_help if /I [%NO_DASHES_ARG:-=%] == [?] goto Usage if /I [%NO_DASHES_ARG:-=%] == [h] goto Usage +:no_help :: Check if VBCSCompiler.exe is running tasklist /fi "imagename eq VBCSCompiler.exe" |find ":" > nul :: Compiler is running if errorlevel == 1 |