summaryrefslogtreecommitdiff
path: root/scripts/update-and-validate.sh
diff options
context:
space:
mode:
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