diff options
author | Leif Johansson <leifj@sunet.se> | 2012-01-31 19:17:08 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-01-31 19:17:08 +0100 |
commit | eb2071ead1195877ba94e07e4d5e18087905586b (patch) | |
tree | 2529f47056e86e631ac23b78b5b92313d5aa66b4 /scripts/aggregate.sh | |
parent | 61639edd7107a30b1c7f5ccc1724da91aa22e536 (diff) |
support comments in aggregate lists
Diffstat (limited to 'scripts/aggregate.sh')
-rwxr-xr-x | scripts/aggregate.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/aggregate.sh b/scripts/aggregate.sh index 91a37144..5bc3be8c 100755 --- a/scripts/aggregate.sh +++ b/scripts/aggregate.sh @@ -3,10 +3,10 @@ DIR=`pwd` ODIR=$1 -(while read url cert; do +grep -v -e '^#' $ODIR/metadata.lst | (while read url cert; do cfile="" if [ "x$cert" != "x" ]; then cfile=$DIR/certs/$cert fi $DIR/scripts/pull-and-verify.sh $url $ODIR $cfile -done) < $ODIR/metadata.lst +done) |