diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-04 07:31:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-04 07:31:48 -0300 |
commit | 29a9f39efd9edad19cf44482a3dc2be7acd6046a (patch) | |
tree | 7b2a5fb384f34665779bf4cd9e14e4b757003fdf /update/update.sh | |
parent | 4a87519723efcd2c9f2705890dac9ead85bb36aa (diff) | |
download | tools-29a9f39efd9edad19cf44482a3dc2be7acd6046a.tar.gz tools-29a9f39efd9edad19cf44482a3dc2be7acd6046a.tar.bz2 tools-29a9f39efd9edad19cf44482a3dc2be7acd6046a.tar.xz tools-29a9f39efd9edad19cf44482a3dc2be7acd6046a.zip |
Make updater code more sturdy
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 820954e..d0b996f 100755 --- a/update/update.sh +++ b/update/update.sh @@ -17,7 +17,7 @@ cd ../../client-data head=`git log --pretty=oneline -n 1 | awk '{print $1}'` u1=`echo ${previous} | cut -c 1-7` u2=`echo ${head} | cut -c 1-7` -git log --name-status ${previous}..${head} | awk '/^(A|M)\t/ {print $2}' | \ +git diff --name-status ${previous} HEAD | awk '/^(A|M)\t/ {print $2}; /^(R...)\t/ {print $3}' | \ grep -e "[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" | sort | uniq | \ xargs zip -X -9 -r ../tools/update/files/TMW2-${u1}..${u2}.zip |