summaryrefslogtreecommitdiff
path: root/metadata/scripts/get-metadata.sh
diff options
context:
space:
mode:
authorJohan Wassberg <jocar@sunet.se>2024-09-19 08:33:11 +0200
committerJohan Wassberg <jocar@sunet.se>2024-09-19 08:33:11 +0200
commitdce90bf209726b7bb83cea94d63c27cf9c44f901 (patch)
tree6ea9d044aa101547e507d9312a1b8987bdbf3d5c /metadata/scripts/get-metadata.sh
parent48b247839e7143c93e79a1938cb057f4062f9f25 (diff)
More cleaning of SWAMID testning
Diffstat (limited to 'metadata/scripts/get-metadata.sh')
-rwxr-xr-xmetadata/scripts/get-metadata.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/scripts/get-metadata.sh b/metadata/scripts/get-metadata.sh
index 78d9d717..1897628f 100755
--- a/metadata/scripts/get-metadata.sh
+++ b/metadata/scripts/get-metadata.sh
@@ -75,7 +75,7 @@ entityid=$(echo "$metadata" | sed -n 's/.*entityID=['\''"]\([^"]*\)['\''"].*/\1/
entityidfn=$(echo "$entityid" | sed 's;.*://;;' | sed 's/[^a-zwA-ZW0-9_.-]/-/g' | sed 's/$/.xml/')
[ -n "$entityidfn" ] || error "Failed to generate filename from entityid $entityid"
-OLDFILE=$(find ../swamid-testing ../swamid-2.0 ../swamid-edugain -name "$entityidfn" | grep -v "$xmldir")
+OLDFILE=$(find ../swamid-2.0 ../swamid-edugain -name "$entityidfn" | grep -v "$xmldir")
if [ -n "$OLDFILE" ]; then
echo "Moving $OLDFILE into $xmldir"
git mv "$OLDFILE" "$entityidfn"