script: wrap path with double quotes
authorMunkyu Im <munkyu.im@samsung.com>
Tue, 8 Sep 2015 08:22:24 +0000 (17:22 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 10 Sep 2015 02:52:40 +0000 (11:52 +0900)
emulator.cmd is for launching emulator on Windows.
If emulator path includes space charactor, it fails launching.
So surround it with double quotes.

Change-Id: I31c186bd4f3282a73c52168144220ff0d34d16bd
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
tizen/src/scripts/emulator.cmd

index edae181a91462ff149be7179b4f75dd677f982ff..1527d9cf788614b00c39fdacad0a68f640c22606 100644 (file)
@@ -17,7 +17,7 @@ IF "%1"=="--with-gdb" (
 
 rem run emulator
 IF %WITH_GDB%=="yes" (
-       gdb --args %EMULATOR_BIN_PATH%\emulator-x86 %*
+       gdb --args "%EMULATOR_BIN_PATH%\emulator-x86" %*
 ) ELSE (
-       %EMULATOR_BIN_PATH%\emulator-x86 %*
+       "%EMULATOR_BIN_PATH%\emulator-x86" %*
 )