diff options
author | Johan Wassberg <jocar@sunet.se> | 2023-08-25 09:04:32 +0200 |
---|---|---|
committer | Johan Wassberg <jocar@sunet.se> | 2023-08-25 09:04:32 +0200 |
commit | c0d5e94baabb40f9952b9e56c3246d9ecfc9206f (patch) | |
tree | f3cabe3809f4d9c5405ffb014e9a349cea30b18e | |
parent | 939a6603ea49fc472bb31b71f30b7a50c9200746 (diff) |
Temporary handle missing declarations of xsdfidus-metadata-2023-08-25-v03
-rwxr-xr-x | metadata/scripts/pull-and-verify.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/metadata/scripts/pull-and-verify.sh b/metadata/scripts/pull-and-verify.sh index f1b11b2..806ea3a 100755 --- a/metadata/scripts/pull-and-verify.sh +++ b/metadata/scripts/pull-and-verify.sh @@ -28,6 +28,10 @@ for md in $TMPD/*.xml; do echo "cleaning $md" sed 's/ xsi:type="xs:string"//' $md > $md.c && mv $md.c $md fi + if (grep -q 'xsd:string' $md); then + echo "cleaning $md" + sed 's/ xsi:type="xsd:string"//' $md > $md.c && mv $md.c $md + fi if (! (grep -q 'IDPSSODescriptor ' $md)); then # Check if SP is OK else remove SP=$(grep "entityID=" $md | sed 's/.*entityID="\(.*[a-zA-Z0-9/]\)".*/\1/') |