From 1f0f0c4536432dffc5452b6b68b62269de5812c7 Mon Sep 17 00:00:00 2001 From: Fredrik Domeij Date: Thu, 9 Feb 2017 16:46:32 +0100 Subject: exit on mdui in wrong extensions section in xml --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3e6248bf..00dd72ca 100644 --- a/Makefile +++ b/Makefile @@ -179,7 +179,7 @@ testEntCat: @echo "Checking for entity-categories in IDPSSODescriptor that should be moved to EntityDescriptor/Extensions" @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed 's;\(/dev/null | grep -q entity-category ; then echo " $$x" | sed 's/.*/&/' ; fi ; done @echo "Checking for MDUI in EntityDescriptor/Extensions" - @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed 's;\(/dev/null | grep -q . ; then echo " $$x" | sed 's/.*/&/' ; fi ; done + @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed 's;\(/dev/null | grep -q . ; then echo " $$x" | sed 's/.*/&/' ; exit 1 ; fi ; done @echo "Checking for entitycategories for IdPs that should be entity-category-support" @for x in `find $(SRCDIRS) -name \*.xml | xargs grep -l IDPSSODescriptor` ; do if cat $$x | sed 's;\(/dev/null | grep -q http://refeds.org/category/research-and-scholarship ; then echo " $$x" | sed 's/.*/&/' ; fi ; done -- cgit v1.2.3