tech(build): moves builds script into main repo

This commit is contained in:
bergquist
2017-01-24 11:26:03 +01:00
parent b1888fb8eb
commit 1339ce80f5
6 changed files with 97 additions and 1 deletions
+12
View File
@@ -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