extra: wrap path with double quotes
authorMunkyu Im <munkyu.im@samsung.com>
Fri, 4 Sep 2015 07:27:40 +0000 (16:27 +0900)
committerMunkyu Im <munkyu.im@samsung.com>
Fri, 4 Sep 2015 07:36:22 +0000 (16:36 +0900)
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>
tizen/src/scripts/emulator.sh
tizen/src/scripts/sdbscript

index 1be40d1..d921a89 100755 (executable)
@@ -8,7 +8,7 @@ EMULATOR_BIN_PATH=$EMULATOR_INSTALLED_PATH/bin
 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)
index 9f8116f..c6629fb 100755 (executable)
@@ -9,7 +9,7 @@ TITLE=$2
 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