diff --git a/make.ps1 b/make.ps1 index ce7e14930e..03da91f9e0 100644 --- a/make.ps1 +++ b/make.ps1 @@ -234,7 +234,13 @@ else $command = $args } -switch ($command) +$execute = $command +if ($command.Length -gt 1) +{ + $execute = $command[0] +} + +switch ($execute) { "all" { All-Command } "dependencies" { Dependencies-Command }