summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2010-12-14 13:18:42 +0100
committerLeif Johansson <leifj@sunet.se>2010-12-14 13:18:42 +0100
commit329eb823659ab757649d8f869aa17a51b18a9106 (patch)
tree0857743b4c8f02e892c99cb3d78747ee4bbd31fd
parente95ab50d69eeaf8f79ffc414da472c948381d63d (diff)
polish
-rwxr-xr-xscripts/aggregate.sh2
-rwxr-xr-xscripts/pull-and-verify.sh4
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