Merge pull request #82 from ceph/wip-rm-blkin
[autobuild-ceph.git] / rpm-autosign.exp
1 #!/usr/bin/expect -f
2
3 # First parameter should be the key such as:
4 #   --define "_gpg_name 03C3951A"
5
6 set timeout -1
7 spawn rpm --addsign {*}$argv
8 expect -exact "Enter pass phrase: "
9 send -- "\r"
10 expect eof