FS RT #30831 - passing the ISO 3166-1 alpha-2 country code to ut_phonen
[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