mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 02:17:37 -02:30
Ignore case to handle multiple prompts
Handles the multiple prompts from debuild and reprepro, each with different cases.
This commit is contained in:
@@ -9,7 +9,7 @@ set passphrase $env(PASSPHRASE)
|
|||||||
puts "# $command"
|
puts "# $command"
|
||||||
spawn -noecho {*}$command
|
spawn -noecho {*}$command
|
||||||
expect {
|
expect {
|
||||||
-exact "Enter passphrase: " {
|
-exact -nocase "enter passphrase: " {
|
||||||
send -- "$passphrase\r"
|
send -- "$passphrase\r"
|
||||||
exp_continue
|
exp_continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user