LD_LIBRARY_PATH could be include PATH with space.
sdbscript need this, too.
Change-Id: Ibf3ee8f24bc781dba6a6d68e72c08b18b8b23c86
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
EMULATOR_TOOL_PATH=$EMULATOR_INSTALLED_PATH/../../../../tools/emulator
# set env variables for linux
-export LD_LIBRARY_PATH=$EMULATOR_BIN_PATH:$EMULATOR_TOOL_PATH/remote/lib:
+export LD_LIBRARY_PATH="$EMULATOR_BIN_PATH":"$EMULATOR_TOOL_PATH/remote/lib":
elif [ "$(uname | cut -c 1-6)" = "Darwin" ]; then
# under darwin
EMULATOR_INSTALLED_PATH=$(cd "$(dirname "$0")"; cd ..; pwd)
osascript > /dev/null << END
tell application "Terminal"
activate
-do script "$1 -s $TITLE shell"
+do script "\"$1\" -s $TITLE shell"
set custom title of first window to "$TITLE"
end tell
END