#!/bin/sh
if [ "$#" -ne 2 ];
then
        echo "usage: sdbscript \${SDB_PATH} emulator-261xx"
        exit 1
fi

TITLE=$2
osascript > /dev/null << END
tell application "Terminal"
activate
do script "'$1' -s $TITLE shell"
set custom title of first window to "$TITLE"
end tell
END
