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)