tech(build): moves builds script into main repo
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/expect -f
|
||||
# wrapper to make rpm --sign be non-interactive
|
||||
# passwd is 1st arg, file to sign is 2nd
|
||||
#send_user «$argv0 [lrange $argv 0 2]\n"
|
||||
#set files [lrange $argv 1 $argc ]
|
||||
|
||||
set password [lindex $argv 0]
|
||||
set files [lindex $argv 1]
|
||||
spawn rpm --addsign $files
|
||||
expect "Enter pass phrase:"
|
||||
send -- "$password\r"
|
||||
expect eof
|
||||
Reference in New Issue
Block a user