1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-27 17:55:10 +03:00

Ignore case to handle multiple prompts

Handles the multiple prompts from debuild and reprepro, each with different
cases.
This commit is contained in:
James Laska 2015-09-08 22:00:27 -04:00
parent d183075519
commit 1b6b622d70

View File

@ -9,7 +9,7 @@ set passphrase $env(PASSPHRASE)
puts "# $command"
spawn -noecho {*}$command
expect {
-exact "Enter passphrase: " {
-exact -nocase "enter passphrase: " {
send -- "$passphrase\r"
exp_continue
}