From f1728f9a8c1a5758a7c60707187d92bb6fb3e982 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 18 Oct 2014 14:15:02 +0300 Subject: update relative path to evol-tools. --- hercules_update/createnew.sh | 4 ++-- lang_client/createpots.sh | 2 +- update/addmods.sh | 2 +- update/create_music.sh | 4 ++-- update/createnew.sh | 4 ++-- update/update.sh | 2 +- update/update_music.sh | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/hercules_update/createnew.sh b/hercules_update/createnew.sh index 692cc05..cfa0eba 100755 --- a/hercules_update/createnew.sh +++ b/hercules_update/createnew.sh @@ -13,8 +13,8 @@ mkdir upload rm files/hercules.zip cd ../../herculesclientdata -find -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -@ ../privtools/hercules_update/files/hercules.zip -git log --pretty=oneline -n 1 | awk '{print $1}' >../privtools/update/commit.txt +find -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -@ ../evol-tools/hercules_update/files/hercules.zip +git log --pretty=oneline -n 1 | awk '{print $1}' >../evol-tools/update/commit.txt cd $dir/files sum=`../adler32 1 hercules.zip` diff --git a/lang_client/createpots.sh b/lang_client/createpots.sh index 5875fb8..6b93fa1 100755 --- a/lang_client/createpots.sh +++ b/lang_client/createpots.sh @@ -1,7 +1,7 @@ #!/bin/bash function its { - itstool -o ../../privtools/lang_client/pot/$1.pot $1.xml + itstool -o ../../evol-tools/lang_client/pot/$1.pot $1.xml } DIR=`pwd` diff --git a/update/addmods.sh b/update/addmods.sh index 0711ba5..1609d45 100755 --- a/update/addmods.sh +++ b/update/addmods.sh @@ -19,7 +19,7 @@ FILES=`ls` for file in $FILES; do cd $file - find . -type f | xargs zip -9 -r ../../../../privtools/update/files/mod-$file.zip + find . -type f | xargs zip -9 -r ../../../../evol-tools/update/files/mod-$file.zip cd $dir/files sum=`../adler32 1 mod-$file.zip` echo " " >> xml_header.txt diff --git a/update/create_music.sh b/update/create_music.sh index 08bc0db..0263c27 100755 --- a/update/create_music.sh +++ b/update/create_music.sh @@ -13,8 +13,8 @@ mkdir upload rm files/music.zip cd ../../gittorious/evol-music -find -iregex ".+[.]\(ogg\)" -printf "%P\n" | zip -@ ../../privtools/update/files/music.zip -git log --pretty=oneline -n 1 | awk '{print $1}' >../../privtools/update/musiccommit.txt +find -iregex ".+[.]\(ogg\)" -printf "%P\n" | zip -@ ../../evol-tools/update/files/music.zip +git log --pretty=oneline -n 1 | awk '{print $1}' >../../evol-tools/update/musiccommit.txt cd $dir/files sum=`../adler32 1 music.zip` diff --git a/update/createnew.sh b/update/createnew.sh index 6dac279..a93858a 100755 --- a/update/createnew.sh +++ b/update/createnew.sh @@ -13,8 +13,8 @@ mkdir upload rm files/evol.zip cd ../../gittorious/clientdata-beta -find -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -@ ../../privtools/update/files/evol.zip -git log --pretty=oneline -n 1 | awk '{print $1}' >../../privtools/update/commit.txt +find -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -@ ../../evol-tools/update/files/evol.zip +git log --pretty=oneline -n 1 | awk '{print $1}' >../../evol-tools/update/commit.txt cd $dir/files sum=`../adler32 1 evol.zip` diff --git a/update/update.sh b/update/update.sh index fe98506..aea0445 100755 --- a/update/update.sh +++ b/update/update.sh @@ -19,7 +19,7 @@ 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 ../../privtools/update/files/evol-${u1}..${u2}.zip + xargs zip -9 -r ../../evol-tools/update/files/evol-${u1}..${u2}.zip cd $dir/files if [ -f evol-${u1}..${u2}.zip ]; then diff --git a/update/update_music.sh b/update/update_music.sh index af65985..997588b 100755 --- a/update/update_music.sh +++ b/update/update_music.sh @@ -20,7 +20,7 @@ u2=`echo ${head} | cut -c 1-7` git log --name-status ${previous}..${head} \ | awk '/^(A|M)\t/ {print $2}' # grep -e "[.]\(ogg\)" | sort | uniq | \ -# xargs zip -9 -r ../../privtools/update/files/music-${u1}..${u2}.zip +# xargs zip -9 -r ../../evol-tools/update/files/music-${u1}..${u2}.zip exit cd $dir/files -- cgit v1.2.3-70-g09d2