EOX GitLab Instance

Commit abbdb23d authored by Lubomir Doležal's avatar Lubomir Doležal
Browse files

fix paths

parent 1c8713dd
......@@ -2,7 +2,7 @@
echo "Running configure.sh" >&2
# substitute template values
cat /shibboleth2_template.xml \
cat ./shibboleth2_template.xml \
| sed -e "s/{{SPEntityID}}/$(echo ${SPEntityID} | sed -e 's/[]\/$*.^[]/\\&/g')/g" \
| sed -e "s/{{IDPEntityID}}/$(echo ${IDPEntityID} | sed -e 's/[]\/$*.^[]/\\&/g')/g" \
> /etc/shibboleth/shibboleth2.xml
......@@ -22,12 +22,12 @@ create_xml_user_category_rules () {
USER_CATEGORY_ALLOW_LIST=$(create_xml_user_category_rules "$USER_CATEGORY_ALLOW_RENDERER")
# renderer access rules template fill
cat /pass_accessrules_template.xml \
cat ./pass_accessrules_template.xml \
| sed -e "s/{{USER_CATEGORY_ALLOW_LIST}}/$(echo ${USER_CATEGORY_ALLOW_LIST} | sed -e 's/[]\/$*.^[]/\\&/g')/g" \
> /etc/shibboleth/pass-ac.xml
# cache access rules template fill
USER_CATEGORY_ALLOW_LIST=$(create_xml_user_category_rules "$USER_CATEGORY_ALLOW_CACHE")
cat /pass_accessrules_template.xml \
cat ./pass_accessrules_template.xml \
| sed -e "s/{{USER_CATEGORY_ALLOW_LIST}}/$(echo ${USER_CATEGORY_ALLOW_LIST} | sed -e 's/[]\/$*.^[]/\\&/g')/g" \
> /etc/shibboleth/pass-ac-cache.xml
#!/bin/bash -e
/configure.sh >&2
./configure.sh >&2
#### Copied over from the source Dockerfile ####
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment