13 lines
200 B
Bash
Executable File
13 lines
200 B
Bash
Executable File
#!/usr/bin/expect
|
|
|
|
set Name [lindex $argv 0]
|
|
set Prj [lindex $argv 1]
|
|
puts "更新$Name"
|
|
cd $Prj
|
|
spawn git pull
|
|
expect "Username"
|
|
send "aixianling\r"
|
|
expect "Password"
|
|
send "axl123.0\r"
|
|
interact
|
|
cd .. |