diff options
-rwxr-xr-x | scripts/aggregate.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/aggregate.sh b/scripts/aggregate.sh index 685457b8..2981e2fd 100755 --- a/scripts/aggregate.sh +++ b/scripts/aggregate.sh @@ -5,8 +5,6 @@ aggregate_interval_min=60 DIR=`pwd` ODIR=$1 -rm -f $ODIR/*.xml - last_aggregate_ts=$ODIR/last_aggregate.ts if find $last_aggregate_ts -mmin -$aggregate_interval_min 2>/dev/null | grep -q . ; then @@ -15,6 +13,8 @@ else touch $last_aggregate_ts fi +rm -f $ODIR/*.xml + grep -v -e '^#' $ODIR/metadata.lst | grep . | (while read url cert; do cfile="" if [ "x$cert" != "x" ]; then |