summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnders Lördal <anders@lordal.se>2015-09-11 09:22:54 +0200
committerAnders Lördal <anders@lordal.se>2015-09-11 09:22:54 +0200
commit076d1510e961a701f3af717b267c69c61bc2e25c (patch)
tree9f4067917f0c51a5b9b533c37443bb6035791e2d /scripts
parente1d4549e9d68d944c194740a569a2c99ecf23847 (diff)
Added fix to de-dupe SWAMID entities in metadata
Renamed file to correct name standard Added URL rewrite for %2F in entityids in import of interfederations
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pull-and-verify.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/pull-and-verify.sh b/scripts/pull-and-verify.sh
index 6e63e855..b8b1e223 100755
--- a/scripts/pull-and-verify.sh
+++ b/scripts/pull-and-verify.sh
@@ -23,7 +23,10 @@ echo "<EntitiesDescriptor xmlns=\"urn:oasis:names:tc:SAML:2.0:metadata\" xmlns:x
T=`mktemp`
for md in $DIR/*.xml; do
xsltproc xslt/clean-entitydescriptor.xsl $md > $T && mv $T $md
- echo "<xi:include href=\"$md\"/>"
+ test=`echo $md | cut -d/ -f2-`
+ if [ ! -f "swamid-2.0/$test" ]; then
+ echo "<xi:include href=\"$md\"/>"
+ fi
done
rm -f $T
echo "</EntitiesDescriptor>"