mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 01:26:03 +00:00
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23931 71c3de6d-444a-0410-be80-ed276b4c234a
8 lines
215 B
Plaintext
Executable File
8 lines
215 B
Plaintext
Executable File
#!/usr/bin/expect -f
|
|
## Sign repomd.xml by sending the passphrase.
|
|
set password [lindex $argv 0]
|
|
spawn gpg -a --detach-sign --yes [lindex $argv 1]
|
|
expect -exact "Enter passphrase: "
|
|
send -- "$password\r"
|
|
expect eof
|