Skip to content
Snippets Groups Projects

add timeout 30 to signrpms, to allow time when signing large/multiple rpms

Merged Ben Morrice requested to merge timeoutsignrpms into master
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
#!/usr/bin/expect -f
set pass [ exec ~/bin/showsignkey ]
set timeout 30
spawn /bin/rpm {*}$argv
expect -exact "Enter pass phrase: "
send -- "$pass\r"
Loading