n2n/packages/rpm/rpm-sign.exp
2018-08-17 12:56:47 +02:00

11 lines
206 B
Plaintext
Executable File

#!/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