1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#!/bin/sh
cd ${CLIENT_BASEDIR}/share/xml/opensaml
sed "s|uri=\".*/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"|1" saml10-catalog.xml > catalog.xml.tmp
mv catalog.xml.tmp saml10-catalog.xml
chmod 644 saml10-catalog.xml
sed "s|uri=\".*/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"|1" saml11-catalog.xml > catalog.xml.tmp
mv catalog.xml.tmp saml11-catalog.xml
chmod 644 saml11-catalog.xml
sed "s|uri=\".*/share/xml/opensaml/\(.*\)\"|uri=\"${CLIENT_BASEDIR}/share/xml/opensaml/\1\"|1" saml20-catalog.xml > catalog.xml.tmp
mv catalog.xml.tmp saml20-catalog.xml
chmod 644 saml20-catalog.xml
exit 0
|