summaryrefslogtreecommitdiff
path: root/scripts/update-and-validate.sh
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2021-08-23 13:47:53 +0200
committerBjörn Mattsson <bjorn@sunet.se>2021-08-23 13:47:53 +0200
commit1f16143be925179875e9cc0b13e792da4ce1a963 (patch)
tree1d4e9fda449097001e2b94b1ae540532e4b1413e /scripts/update-and-validate.sh
parentbd3ab45eaf334e696fd6a085cf88d73ef60dcbce (diff)
Renamed files to match entityID part2
Diffstat (limited to 'scripts/update-and-validate.sh')
-rwxr-xr-xscripts/update-and-validate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update-and-validate.sh b/scripts/update-and-validate.sh
index 280064f9..c9a5c0f9 100755
--- a/scripts/update-and-validate.sh
+++ b/scripts/update-and-validate.sh
@@ -8,8 +8,6 @@ update()
/var/www/scripts/updateWebb.bash
- make -f Makefile.validate -s
-
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
@@ -21,6 +19,8 @@ update()
if [ $(find .time/ -ctime +15 | wc -l) -ne 0 ]; then
rm `find .time/ -ctime +15 | tail -10`
fi
+
+ make -f Makefile.validate -s
}
cd /opt/swamid-metadata || exit 1