summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/pull-and-verify.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/pull-and-verify.sh b/scripts/pull-and-verify.sh
index ab94c7e7..c53fd66a 100755
--- a/scripts/pull-and-verify.sh
+++ b/scripts/pull-and-verify.sh
@@ -18,9 +18,12 @@ rsync -avz $TMPD/ $DIR
(
echo '<?xml version="1.0"?>'
echo "<EntitiesDescriptor xmlns=\"urn:oasis:names:tc:SAML:2.0:metadata\" xmlns:xi=\"http://www.w3.org/2001/XInclude\" Name=\"http://md.swamid.se/md/$3.xml\">"
+T=`mktemp`
for md in $3/*.xml; do
+ xsltproc xslt/clean-entitydescriptor.xsl $md > $T && mv $T $md
echo "<xi:include href=\"$md\"/>"
done
+rm -f $T
echo "</EntitiesDescriptor>"
) > $DIR.mxml
git add $DIR.mxml $DIR