summaryrefslogtreecommitdiff
path: root/update/update.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-11 18:48:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-11 21:27:37 +0300
commit028b54e1e0d5e50884641313ee07baed9ff964ac (patch)
tree40fc749d7aad4a5fefa6de2662dcaadf7001aeb3 /update/update.sh
parent186e81014833dc57ca7bbb0ebd011ed2e6c22917 (diff)
downloadevol-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-xupdate/update.sh4
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