[Tizen] make corefx-managed as noarch pkg
[platform/upstream/dotnet/runtime.git] / build.cmd
index c02fd0a..fd4aba3 100644 (file)
--- a/build.cmd
+++ b/build.cmd
@@ -1,8 +1,9 @@
 @echo off
 setlocal
 
-set _args="%*"
-if "%~1"=="-?" set _args="-help"
+set _args=%*
+if "%~1"=="-?" set _args=-help
+if "%~1"=="/?" set _args=-help
 
-powershell -ExecutionPolicy ByPass -NoProfile -File "%~dp0eng\build.ps1" %_args%
+powershell -ExecutionPolicy ByPass -NoProfile -Command "& '%~dp0eng\build.ps1'" %_args%
 exit /b %ERRORLEVEL%