diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 15:41:33 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-03-06 15:41:33 +0100 |
commit | a290cfb709e79b2d6250363e494abfad70767449 (patch) | |
tree | f55e08e6c467b17c374a2ca5cfd0be2cf3fd83ec | |
parent | 35299f91cf4656bf932c454385a462e60bed896f (diff) |
Always create .time to be sure it existsmd-2023-03-06-v05
-rwxr-xr-x | metadata/scripts/update-and-validate.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |