diff options
author | Björn Mattsson <bjorn@sunet.se> | 2022-09-07 08:57:20 +0200 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2022-09-07 08:57:20 +0200 |
commit | 990a23387c06dc38dbb5ed2c9df498c95f856913 (patch) | |
tree | 78e770866392bbf4bb3b37f585910edea7e1cbe2 /scripts/update-and-validate.sh | |
parent | 9209ad93756a34688ec37e808262b9a8ac124854 (diff) |
Changed path
Diffstat (limited to 'scripts/update-and-validate.sh')
-rwxr-xr-x | scripts/update-and-validate.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update-and-validate.sh b/scripts/update-and-validate.sh index 4e53f4f1..cec59729 100755 --- a/scripts/update-and-validate.sh +++ b/scripts/update-and-validate.sh @@ -10,7 +10,7 @@ update() ls swamid-2.0/*.xml | sed 's@swamid-2.0/\(.*\).xml@.time/\1.validate@' > /tmp/$$.xml ls .time/*.validate > /tmp/$$.time comm -13 /tmp/$$.xml /tmp/$$.time | while read file; do - docker exec swamid-metadata-sp /var/www/scripts/removeEntity.bash /opt/swamid-metadata/$file + docker exec swamid-metadata-sp /var/www/scripts/removeEntity.bash /opt/metadata/$file done rm /tmp/$$.xml /tmp/$$.time @@ -32,7 +32,7 @@ update() docker exec swamid-metadata-sp php /var/www/scripts/cleanupPending.php } -cd /opt/swamid-metadata || exit 1 +cd /opt/metadata || exit 1 update # to be able to show non-swamid entities on web-page wget -qO swamid-2.0.xml https://mds.swamid.se/md/swamid-2.0.xml |