[CentOS] Passing password to script for rpmsign of list of .rpm files
Nicolas Thierry-Mieg
Nicolas.Thierry-Mieg at imag.frSat May 21 07:30:06 UTC 2011
- Previous message: [CentOS] Passing password to script for rpmsign of list of .rpm files
- Next message: [CentOS] Passing password to script for rpmsign of list of .rpm files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ljubomir Ljubojevic wrote: > for i in $(find . -type f | grep .rpm); do > rpmsign --addsign `find . -type f | grep .rpm | grep -v .zzz` just a small comment, grep uses regexps so this doesn't do what you want (eg the . is a wildcard char). Your script can break, silently (won't sign rpms whose name contains "any char followed by zzz") or not (will attempt to rpmsign eg myrpms.pl), with some particular file names. what you really want is files ending with .rpm, so: grep '\.rpm$'
- Previous message: [CentOS] Passing password to script for rpmsign of list of .rpm files
- Next message: [CentOS] Passing password to script for rpmsign of list of .rpm files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list