n2n/packages/centos/rpm-sign.exp

11 lines
206 B
Plaintext
Raw Normal View History

2018-08-17 12:41:39 +02:00
#!/usr/bin/expect -f
### rpm-sign.exp -- Sign RPMs by sending the passphrase.
spawn rpm --addsign {*}$argv
expect -exact "Enter pass phrase: "
send -- "\r"
expect eof
## end of rpm-sign.exp