script: fixed bug in emulator.sh
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Sat, 20 Jun 2015 08:18:46 +0000 (17:18 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 22 Jun 2015 05:29:09 +0000 (14:29 +0900)
Fixed bug when input argument has whitespaces.

Change-Id: I4eeb75662a5755d5c8249874fce2e86c4a06c971
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
tizen/src/scripts/emulator.sh

index a6096fb..5b5ba3c 100755 (executable)
@@ -46,7 +46,7 @@ fi
 
 # run emulator
 if [ "$WITH_GDB" = "yes" ]; then
-       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 "$@"
 fi