summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2c4d41b8..624aaf95 100644
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,7 @@ keys: $(KEY) $(CERT)
sign: keys swamid nya
swamid-compat:
- @test -s /local/saml-metadata/swamid-1.0.xml && cp /local/saml-metadata/swamid-1.0.xml /local/saml-metadata/urn-mace-swami.se-swamid-test-1.0-metadata.xml
- @test -s /local/saml-metadata/swamid-1.0.xml && cp /local/saml-metadata/swamid-1.0.xml /local/saml-metadata/urn-mace-swami.se-swamid-test-1.0-metadata-signed.xml
+ @test -s /local/saml-metadata/swamid-1.0.xml && sed 's/md:Name=\"http://md.swamid.se/md/swamid-1.0.xml\"/md:Name=\"urn:mace:swami.se:swamid:test-1.0\"/g < /local/saml-metadata/swamid-1.0.xml > /tmp/foo.metadata
swamid:
@saml-md-tool swamid-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)