diff options
author | Björn Mattsson <Bjorn.Mattsson@bth.se> | 2019-11-29 11:28:10 +0100 |
---|---|---|
committer | Björn Mattsson <Bjorn.Mattsson@bth.se> | 2019-11-29 11:28:10 +0100 |
commit | a15145352e35d19bdd9ea6840970c977fbb00c90 (patch) | |
tree | b62b20ae86c2731a4b7dcdc08c86f0b646d91759 | |
parent | e5a0d931c410f7b2240c9fbd33653eb116dface4 (diff) |
Made http: check to stop processing in Makefile
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/.*/[1;31m&[0m/' ; 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/.*/[1;31m&[0m/' ; 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/.*/[1;31m&[0m/' ; fi ; done | grep . && exit 1 || exit 0 testIdPinSP: @echo "Check that SP:s does not define IDPSSODescriptor" |