summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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}