Created
January 29, 2016 14:48
-
-
Save roidelapluie/bd7d2f7302fb5f8112d1 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 | |
set package_0 [ lindex $argv 0 ] | |
send_user "calling rpmsign --addsign $package_0\nargv: $argv" | |
spawn rpmsign "--addsign" $package_0 | |
expect "Enter pass phrase: " | |
send {GPGPASSWORD} | |
send \r | |
expect eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment