menu: activate the terminal on mac
authorgiwoong.kim <giwoong.kim@samsung.com>
Wed, 2 Jan 2013 01:22:20 +0000 (10:22 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Wed, 2 Jan 2013 01:22:20 +0000 (10:22 +0900)
activate the terminal for sdb launching from popup menu

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/sdbscript

index 6b5132a2f7a8161e62d7ae2c6ba5cae33c274c74..1f5b0b470a0dfc60c649cc42e01383fccb5d92a2 100755 (executable)
@@ -7,8 +7,9 @@ else
     TITLE=$1
     osascript > /dev/null << END
     tell application "Terminal"
-    do script "`pwd`/../../sdb -s $TITLE shell"
-    set custom title of first window to "$TITLE"
+        activate
+        do script "`pwd`/../../sdb -s $TITLE shell"
+        set custom title of first window to "$TITLE"
     end tell
 END
 fi