summaryrefslogtreecommitdiff
path: root/scripts/aggregate.sh
blob: 5bc3be8c1507c76b8d0befff455d0da40290c594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

DIR=`pwd`
ODIR=$1

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)