summaryrefslogtreecommitdiff
path: root/scripts/get-metadata.sh
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2022-05-10 16:31:05 +0200
committerBjörn Mattsson <bjorn@sunet.se>2022-05-10 16:31:05 +0200
commitaa1d9eb545877d078267c3a2b828cb24075febb1 (patch)
treee9eda2c70f571416913e5025298a1b9ec357085e /scripts/get-metadata.sh
parent41365999ff85a296ef448019b61f5a0807750e72 (diff)
SWAMID-912 Added demo.seamlessaccess.org demo.beta.seamlessaccess.org
Diffstat (limited to 'scripts/get-metadata.sh')
-rwxr-xr-xscripts/get-metadata.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get-metadata.sh b/scripts/get-metadata.sh
index ec14b1ad..26534d3c 100755
--- a/scripts/get-metadata.sh
+++ b/scripts/get-metadata.sh
@@ -102,8 +102,8 @@ case $x in
fi
echo "$metadata" > $entityidfn
+ tmp=`mktemp`
if $update_xml ; then
- tmp=`mktemp`
xsltproc --stringparam regDate "$regdate" $script_cwd/../xslt/add-rpi.xsl ${entityidfn} > ${tmp} && mv ${tmp} ${entityidfn}
fi
xsltproc $script_cwd/../xslt/clean-entitydescriptor.xsl ${entityidfn} > ${tmp} && mv ${tmp} ${entityidfn}