From f886a5f1c0db1b25098332de97c5b1665d8ab032 Mon Sep 17 00:00:00 2001 From: Mikael Frykholm Date: Tue, 13 Aug 2024 10:20:46 +0200 Subject: Set which shell we assume. Also remove stderr from test as debian prints Warnings on stderr for xsltproc. --- metadata/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/metadata/Makefile b/metadata/Makefile index a8affdfc..981abc7d 100644 --- a/metadata/Makefile +++ b/metadata/Makefile @@ -1,4 +1,4 @@ - +SHELL=/bin/bash SRCDIRS=swamid-2.0 swamid-edugain swamid-testing NOW=$(shell perl scripts/now_date.pl) @@ -84,8 +84,8 @@ checkInvalidChars: checkUKalgorithms: @echo "Check for invalid algorithms in swamid-edugain" - @xsltproc --xinclude xslt/check_uk_algorithms.xsl swamid-edugain/* 2>&1 | sed 's/.*/&/' | grep . && exit 1 || exit 0 - @xsltproc --xinclude xslt/check_algsupport.xsl swamid-edugain/* 2>&1 | sed 's/.*/&/' | grep . && exit 1 || exit 0 + @xsltproc --xinclude xslt/check_uk_algorithms.xsl swamid-edugain/* | sed 's/.*/&/' | grep . && exit 1 || exit 0 + @xsltproc --xinclude xslt/check_algsupport.xsl swamid-edugain/* | sed 's/.*/&/' | grep . && exit 1 || exit 0 test: $(EDUGAINXML) $(SWAMID20XML) $(TESTINGXML) testMDUI testALlevel testEduGAINchecks testRefedsRnS testBadStrings testRegistrationAuthority checkInvalidChars checkUKalgorithms -- cgit v1.2.3