typo fixed
This commit is contained in:
11
rpmsign.exp
Executable file
11
rpmsign.exp
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/expect -f
|
||||
|
||||
set key [lindex $argv 0]
|
||||
set password [lindex $argv 1]
|
||||
set files [lrange $argv 2 end]
|
||||
|
||||
### rpm-sign.exp -- Sign RPMs by sending the passphrase.
|
||||
spawn rpmsign --define "_gpg_name $key" --addsign $files
|
||||
expect -exact "Enter pass phrase: "
|
||||
send -- "$password\r"
|
||||
expect eof
|
||||
Reference in New Issue
Block a user