echo "create 2k11 Android Ref session"
ROOT_PATH=`pwd`
CONN_PATH="src/"
BASE_PATH=${ROOT_PATH}/${CONN_PATH}
i=0
tmuxname[$((i++))]="build1"
tmuxname[$((i++))]="sync1"
tmuxname[$((i++))]="phone1"
tmuxname[$((i++))]="phone2"
tmuxname[$((i++))]="app1"
tmuxname[$((i++))]="app2"
tmuxname[$((i++))]="fmk"
tmuxname[$((i++))]="xml"
i=0
tmuxpath[$((i++))]=${BASE_PATH}
tmuxpath[$((i++))]=${BASE_PATH}
tmuxpath[$((i++))]=${BASE_PATH}/vendor/xxx
tmuxpath[$((i++))]=${BASE_PATH}/vendor/xxx
tmuxpath[$((i++))]=${BASE_PATH}/vendor/xxx
tmuxpath[$((i++))]=${BASE_PATH}/vendor/xxx
tmuxpath[$((i++))]=${BASE_PATH}/frameworks
tmuxpath[$((i++))]=${BASE_PATH}/xxx
fnum=${i}
pushd ${BASE_PATH}
for ((i=0; i<${fnum}; i++))
do
tmux new -s ${tmuxname[$i]} -n add_1 -d "cd ${BASE_PATH};bash -i"
done
popd
No comments:
Post a Comment