adding export to read mailbox status information, RT#15987
[freeside.git] / rpm / build / expect-signrepo
1 #!/usr/bin/expect
2 set password "not our actual passphrase"
3 set key [lindex $argv 0]
4 set output [lindex $argv 1]
5 set input [lindex $argv 2]
6 spawn gpg -sab --yes -u "$key" -o $output $input
7 expect "Enter passphrase:"
8 send -- "$password\r"
9 expect eof