Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (7 sloc) 126 Bytes
#!/usr/bin/expect
set p ""
set f [lindex $argv 0]
spawn rpm --resign $f
expect "Enter pass phrase:"
send -- "$p\r"
expect eof