diff options
Diffstat (limited to 'update/update.sh')
-rwxr-xr-x | update/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update/update.sh b/update/update.sh index 2a446db..7cf8145 100755 --- a/update/update.sh +++ b/update/update.sh @@ -25,7 +25,7 @@ cd $dir/files if [ -f TMW2-${u1}..${u2}.zip ]; then mv ../commit.txt ../commit_old.txt echo ${head} >../commit.txt - sum=`adler32 1 TMW2-${u1}..${u2}.zip` + sum=`adler32 TMW2-${u1}..${u2}.zip` | awk '{print $2}' echo "TMW2-${u1}..${u2}.zip ${sum}" >>resources2.txt echo " <update type=\"data\" file=\"TMW2-${u1}..${u2}.zip\" hash=\"${sum}\" />" >> xml_header.txt cp xml_header.txt resources.xml |