Handle rpm --addsign pasphrase prompts

This commit is contained in:
James Laska
2015-09-09 18:51:23 -04:00
parent fa77f581fa
commit 9d5d17fa70

View File

@@ -24,6 +24,10 @@ if { [info exists env(PASSPHRASE) ] } {
# Run the desired command
spawn {*}$command
expect {
-nocase "enter passphrase:" {
send -- "$passphrase\r"
exp_continue
}
-nocase "enter pass phrase:" {
send -- "$passphrase\r"
exp_continue