summaryrefslogtreecommitdiff
path: root/scripts/get-metadata.sh
diff options
context:
space:
mode:
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}