diff options
-rwxr-xr-x | scripts/aggregate.sh | 2 | ||||
-rwxr-xr-x | scripts/pull-and-verify.sh | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/aggregate.sh b/scripts/aggregate.sh index b3c8c8e9..c3654d66 100755 --- a/scripts/aggregate.sh +++ b/scripts/aggregate.sh @@ -2,5 +2,5 @@ DIR=`pwd` -$DIR/scripts/pull-and-verify.sh http://spaces.internet2.edu/Shibboleth.sso/Metadata $DIR/certs/spaces.internet2.edu.crt $1 +$DIR/scripts/pull-and-verify.sh 'http://spaces.internet2.edu/Shibboleth.sso/Metadata' $DIR/certs/spaces.internet2.edu.crt $1 $DIR/scripts/pull-and-verify.sh 'https://kalmar2.org/simplesaml/module.php/aggregator/?id=kalmarcentral2&set=saml2&exclude=sweden&mimetype=application/xml' $DIR/certs/kalmar-signer.crt $1 diff --git a/scripts/pull-and-verify.sh b/scripts/pull-and-verify.sh index 3035126e..ac9aa0a6 100755 --- a/scripts/pull-and-verify.sh +++ b/scripts/pull-and-verify.sh @@ -22,5 +22,7 @@ for md in $3/*.xml; do echo "<xi:include href=\"$md\"/>" done echo "</EntitiesDescriptor>" -) > $3.mxml +) > $DIR.mxml +git add $DIR.mxml $DIR +git commit -m "$URL into $DIR" $DIR.mxml $DIR rm -rf $TMPF $TMPD |