diff options
author | jesusalva <cpntb1@ymail.com> | 2018-02-16 12:51:43 -0200 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-02-16 12:51:43 -0200 |
commit | b8c5eae7dbad2d2ca7b198cb76d2131a0bfe518b (patch) | |
tree | d1b1da9fd301b284e490bfc86d4a369eb03b03f4 /update/update_music.sh | |
parent | 96affb420eb0d635dfdeee371e368af0c26f00b9 (diff) | |
download | tools-b8c5eae7dbad2d2ca7b198cb76d2131a0bfe518b.tar.gz tools-b8c5eae7dbad2d2ca7b198cb76d2131a0bfe518b.tar.bz2 tools-b8c5eae7dbad2d2ca7b198cb76d2131a0bfe518b.tar.xz tools-b8c5eae7dbad2d2ca7b198cb76d2131a0bfe518b.zip |
Fix broken updaters with AWK
Diffstat (limited to 'update/update_music.sh')
-rwxr-xr-x | update/update_music.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/update/update_music.sh b/update/update_music.sh index aca1506..ac3bbe5 100755 --- a/update/update_music.sh +++ b/update/update_music.sh @@ -24,11 +24,11 @@ git log --name-status ${previous}..${head} \ exit cd $dir/files -if [ -f evol-${u1}..${u2}.zip ]; then +if [ -f music-${u1}..${u2}.zip ]; then mv ../muciscommit.txt ../muciscommit_old.txt echo ${head} >../muciscommit.txt - sum=`../adler32 1 music-${u1}..${u2}.zip` - echo " <update type=\"music\" required=\"no\" file=\"music-${u1}..${u2}.zip\" hash=\"${sum}\" description=\"Evol music\" />" >> xml_header.txt + sum=`adler32 music-${u1}..${u2}.zip` | awk '{print $2}' + echo " <update type=\"music\" required=\"no\" file=\"music-${u1}..${u2}.zip\" hash=\"${sum}\" description=\"TMW2 music\" />" >> xml_header.txt cp xml_header.txt resources.xml cat xml_footer.txt >>resources.xml |