diff options
Diffstat (limited to 'scripts/pull-and-verify.sh')
-rwxr-xr-x | scripts/pull-and-verify.sh | 5 |
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>" |