#!/usr/tcl/bin/expect
#set timeout 30
#set username "daima"
#set password "123456789"
git clone git@git.rpdns.com:s2b2c/order-api.git
cd order-api/
git submodule init
/usr/bin/expect <<-EOF
set timeout 30
spawn git submodule update
expect "Username" {send "daima\r"}
expect "Password" {send "123456789\r"}
expect eof
EOF