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

DIR=`pwd`
ODIR=$1

rm $DIR/*.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)