Created
May 8, 2016 00:39
-
-
Save hguemar/639e03609296620fe2c18325f68b44e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/expect -f | |
spawn rpm --addsign {*}$argv | |
expect -exact "Enter pass phrase: " | |
send -- "Secret passphrase\r" | |
expect eof | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment