summaryrefslogtreecommitdiff
path: root/rpm/build/expect-addsign
blob: 5634ed47b3c3f601d6485824198a4ff98ae02d73 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/expect
set p "not our actual passphrase"
set f [lindex $argv 0]
#spawn /bin/rpm --resign $f
spawn /usr/bin/rpm --resign $f
expect "Enter pass phrase:"
send -- "$p\r"
expect eof