Fixed invalid terminal symbol in expect script
This commit is contained in:
21
motor-control/firmware/scripts/remote/run_openocd.exp
Normal file → Executable file
21
motor-control/firmware/scripts/remote/run_openocd.exp
Normal file → Executable file
@@ -4,17 +4,18 @@ set timeout 30
|
||||
|
||||
spawn ssh [lindex $argv 0]
|
||||
|
||||
expect "# "
|
||||
send "cd ~/gobot/"
|
||||
expect "# "
|
||||
expect "$ "
|
||||
send "cd ~/gobot/\n"
|
||||
expect "$ "
|
||||
|
||||
send "git fetch"
|
||||
expect "# "
|
||||
send "git fetch\n"
|
||||
expect "$ "
|
||||
|
||||
send "git checkout motor-ctrl-firmware"
|
||||
expect "# "
|
||||
send "git checkout motor-ctrl-firmware\n"
|
||||
expect "$ "
|
||||
|
||||
send "cd motor-control/firmware/scripts/remote"
|
||||
expect "# "
|
||||
send "cd motor-control/firmware/scripts/remote\n"
|
||||
expect "$ "
|
||||
|
||||
send "./run_openocd.sh"
|
||||
send "./run_openocd.sh\n"
|
||||
expect eof
|
||||
|
||||
Reference in New Issue
Block a user