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

DIR=`pwd`
ODIR=$1

rm $ODIR/*.xml

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)