summaryrefslogtreecommitdiff
path: root/update/createnew.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update/createnew.sh')
-rwxr-xr-xupdate/createnew.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/update/createnew.sh b/update/createnew.sh
index 10a83b9..b48b851 100755
--- a/update/createnew.sh
+++ b/update/createnew.sh
@@ -23,11 +23,12 @@ echo "TMW2.zip ${sum}" >resources2.txt
echo '<?xml version="1.0"?>
<updates>' >xml_header.txt
-echo '</updates>' >xml_footer.txt
+touch xml_footer.txt
echo " <update type=\"data\" file=\"TMW2.zip\" hash=\"${sum}\" />" >> xml_header.txt
cp xml_header.txt resources.xml
cat xml_footer.txt >>resources.xml
+echo '</updates>' >>resources.xml
cp TMW2.zip ../upload/
cp resources2.txt ../upload/