diff --git a/build.xml b/build.xml index fd14b255..72e2e049 100644 --- a/build.xml +++ b/build.xml @@ -1146,6 +1146,32 @@ --> + + + diff --git a/build/fix_fragment.pl b/build/fix_fragment.pl new file mode 100755 index 00000000..020be78d --- /dev/null +++ b/build/fix_fragment.pl @@ -0,0 +1,20 @@ +#!/usr/bin/perl -w + +# +# Apply a given one-off change to the input fragment file. +# + +while (<>) { + + s {(\s)(?=shibboleth-metadata-1\.0\.xsd)} {$1..\/xml\/}; + s {(\s)(?=sstc-saml-schema-assertion-2\.0\.xsd)} {$1..\/xml\/}; + s {(\s)(?=sstc-saml-schema-metadata-2\.0\.xsd)} {$1..\/xml\/}; + s {(\s)(?=uk-fed-label\.xsd)} {$1..\/xml\/}; + s {(\s)(?=xenc-schema\.xsd)} {$1..\/xml\/}; + s {(\s)(?=xml\.xsd)} {$1..\/xml\/}; + s {(\s)(?=xmldsig-core-schema\.xsd)} {$1..\/xml\/}; + + print $_; +} + +# end