summaryrefslogtreecommitdiff
path: root/scripts/aggregate.sh
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2016-06-09 14:41:48 +0200
committerLeif Johansson <leifj@sunet.se>2016-06-09 14:41:48 +0200
commit7c085dbede3432e991b953cdd913ef655b6e5660 (patch)
treef3fca60e963ba84714ab2a45787db6585a1e6f61 /scripts/aggregate.sh
parent376f39703abf69cb49e8abeb272867d739685f0c (diff)
parent11edf6dc9e575f1da4d5df94f2d51822cac606de (diff)
Merge branch 'master' of md-master.swamid.se:swamid-metadata
Diffstat (limited to 'scripts/aggregate.sh')
-rwxr-xr-xscripts/aggregate.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/aggregate.sh b/scripts/aggregate.sh
index 5bc3be8c..25763dee 100755
--- a/scripts/aggregate.sh
+++ b/scripts/aggregate.sh
@@ -3,6 +3,8 @@
DIR=`pwd`
ODIR=$1
+rm $ODIR/*.xml
+
grep -v -e '^#' $ODIR/metadata.lst | (while read url cert; do
cfile=""
if [ "x$cert" != "x" ]; then