summaryrefslogtreecommitdiff
path: root/update
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-18 14:15:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-18 14:15:02 +0300
commitf1728f9a8c1a5758a7c60707187d92bb6fb3e982 (patch)
tree26bfcb85498780b4195b2bae025a4002eadb937a /update
parentd4d7b1592cafc054949eb5fb66a8cf66cf1d4962 (diff)
downloadevol-tools-f1728f9a8c1a5758a7c60707187d92bb6fb3e982.tar.gz
evol-tools-f1728f9a8c1a5758a7c60707187d92bb6fb3e982.tar.bz2
evol-tools-f1728f9a8c1a5758a7c60707187d92bb6fb3e982.tar.xz
evol-tools-f1728f9a8c1a5758a7c60707187d92bb6fb3e982.zip
update relative path to evol-tools.
Diffstat (limited to 'update')
-rwxr-xr-xupdate/addmods.sh2
-rwxr-xr-xupdate/create_music.sh4
-rwxr-xr-xupdate/createnew.sh4
-rwxr-xr-xupdate/update.sh2
-rwxr-xr-xupdate/update_music.sh2
5 files changed, 7 insertions, 7 deletions
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 " <update type=\"data\" group=\"$file\" file=\"mod-$file.zip\" hash=\"${sum}\" />" >> 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