diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-11 18:48:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-11 21:27:37 +0300 |
commit | 028b54e1e0d5e50884641313ee07baed9ff964ac (patch) | |
tree | 40fc749d7aad4a5fefa6de2662dcaadf7001aeb3 /update/update.sh | |
parent | 186e81014833dc57ca7bbb0ebd011ed2e6c22917 (diff) | |
download | evol-tools-028b54e1e0d5e50884641313ee07baed9ff964ac.tar.gz evol-tools-028b54e1e0d5e50884641313ee07baed9ff964ac.tar.bz2 evol-tools-028b54e1e0d5e50884641313ee07baed9ff964ac.tar.xz evol-tools-028b54e1e0d5e50884641313ee07baed9ff964ac.zip |
update: update dirs.
Diffstat (limited to 'update/update.sh')
-rwxr-xr-x | update/update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update/update.sh b/update/update.sh index aea0445..4ea4d0a 100755 --- a/update/update.sh +++ b/update/update.sh @@ -13,13 +13,13 @@ mkdir upload previous=`cat commit.txt` -cd ../../gittorious/clientdata-beta +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}' | \ grep -e "[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" | sort | uniq | \ - xargs zip -9 -r ../../evol-tools/update/files/evol-${u1}..${u2}.zip + xargs zip -9 -r ../tools/update/files/evol-${u1}..${u2}.zip cd $dir/files if [ -f evol-${u1}..${u2}.zip ]; then |