From a290cfb709e79b2d6250363e494abfad70767449 Mon Sep 17 00:00:00 2001 From: Björn Mattsson Date: Mon, 6 Mar 2023 15:41:33 +0100 Subject: Always create .time to be sure it exists --- metadata/scripts/update-and-validate.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metadata/scripts/update-and-validate.sh b/metadata/scripts/update-and-validate.sh index 7ab2ed96..10c8ee55 100755 --- a/metadata/scripts/update-and-validate.sh +++ b/metadata/scripts/update-and-validate.sh @@ -6,6 +6,8 @@ update() # echo "git pull" # git pull -q || return $? + mkdir .time + # Remove old entitys from DB ls swamid-edugain/*.xml swamid-2.0/*.xml swamid-testing/*.xml | sed 's@swamid-.*/\(.*\).xml@.time/\1.validate@' | sort > /tmp/$$.xml ls .time/*.validate > /tmp/$$.time -- cgit v1.2.3