source:
trunk/technical/common/build/dass_sign_rpm.sh@
732
Last change on this file since 732 was 703, checked in by , on Jan 14, 2005 at 10:04:22 PM | |
---|---|
|
|
File size: 308 bytes |
Rev | Line | |
---|---|---|
[703] | 1 | #!/bin/bash |
2 | ||
3 | if [ $# -eq 0 ]; then | |
4 | echo "usage: $0 RPMFILENAME" | |
5 | exit 1 | |
6 | fi | |
7 | ||
8 | echo -n "dass IT build password: " | |
9 | read PASSWORD | |
10 | ||
11 | for i in $*; do | |
12 | echo $i | |
13 | expect -c "spawn rpm --addsign $i" -c 'expect -ex "Enter pass phrase:"' -c "send $PASSWORD\n" -c 'expect "Pass phrase"' -c 'wait' | |
14 | rpm --checksig $i | |
15 | done | |
16 |
Note:
See TracBrowser
for help on using the repository browser.