summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-01-31 19:17:08 +0100
committerLeif Johansson <leifj@sunet.se>2012-01-31 19:17:08 +0100
commiteb2071ead1195877ba94e07e4d5e18087905586b (patch)
tree2529f47056e86e631ac23b78b5b92313d5aa66b4
parent61639edd7107a30b1c7f5ccc1724da91aa22e536 (diff)
support comments in aggregate lists
-rwxr-xr-xscripts/aggregate.sh4
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)