summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBjörn Mattsson <Bjorn.Mattsson@bth.se>2019-11-29 11:28:10 +0100
committerBjörn Mattsson <Bjorn.Mattsson@bth.se>2019-11-29 11:28:10 +0100
commita15145352e35d19bdd9ea6840970c977fbb00c90 (patch)
treeb62b20ae86c2731a4b7dcdc08c86f0b646d91759 /Makefile
parente5a0d931c410f7b2240c9fbd33653eb116dface4 (diff)
Made http: check to stop processing in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8c4edc06..c80f2ac5 100644
--- a/Makefile
+++ b/Makefile
@@ -183,7 +183,7 @@ testMDUI:
@echo "Checking for invalid geodata (syntax is geo:xx.yy,zz.vv)"
@for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed -n 's;.*<[a-z0-9:]*GeolocationHint>\(.*\)</[a-z0-9:]*GeolocationHint>;\1;p' | grep -q -vE '^$$|^geo:[0-9][0-9][0-9.]*,[0-9][0-9][0-9.]*$$' ; then echo " $$x" | sed 's/.*/&/' ; fi ; done
@echo "Check for IdP:s with Logos over http"
- @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed -n '/IDPSSODescriptor/,/\/IDPSSODescriptor/p' | grep -q 'Logo .*http://' ; then echo " $$x" | sed 's/.*/&/' ; fi ; done
+ @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed -n '/IDPSSODescriptor/,/\/IDPSSODescriptor/p' | grep -q 'Logo .*http://' ; then echo " $$x" | sed 's/.*/&/' ; fi ; done | grep . && exit 1 || exit 0
testIdPinSP:
@echo "Check that SP:s does not define IDPSSODescriptor"