Commit 0318b3ec1d9e8627abacb4dc9f71cbccdbb1fafb

Authored by DarkGod
1 parent ab361c66

fix paths

... ... @@ -15,8 +15,8 @@ read ivmd
15 15 echo "*********** MD5 for Stone Wardens: *********"
16 16 read swmd
17 17
18   -ln -fs /var/www/te4.org/htdocs/dl/t-engine/t-engine4-windows-$v.zip /var/www/te4.org/htdocs/dl/t-engine/full/tome-full-windows-$v.zip
19   -fmd5=`md5sum /var/www/te4.org/htdocs/dl/t-engine/full/tome-full-windows-$v.zip | cut -d' ' -f1`
  18 +ln -fs /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine/t-engine4-windows-$v.zip /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine/full/tome-full-windows-$v.zip
  19 +fmd5=`md5sum /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine/full/tome-full-windows-$v.zip | cut -d' ' -f1`
20 20
21 21 echo "SQL:"
22 22 echo "replace into modules_addons_versions set module='tome', addon='tome-items-vault-$v' , md5='$ivmd', md5_2 ='';"
... ...
... ... @@ -42,13 +42,13 @@ find . -name '*~' -or -name '.svn' -or -name '.keep' | xargs rm -rf
42 42 cd game/engines
43 43 te4_pack_engine.sh default/ te4-"$ever"
44 44 te4_pack_engine.sh default/ te4-"$ever" 1
45   -\cp -f te4-*.teae boot-te4-*.team /var/www/te4.org/htdocs/dl/engines
  45 +\cp -f te4-*.teae boot-te4-*.team /foreign/eyal/var/www/te4.org/htdocs/dl/engines
46 46 mv boot*team ../modules
47 47 rm -rf default
48 48 cd ../modules
49 49 te4_pack_module_tome.sh tome "$tver"
50 50 #te4_pack_module.sh tome "$tver" 1
51   -\cp -f tome*.team /var/www/te4.org/htdocs/dl/modules/tome/
  51 +\cp -f tome*.team /foreign/eyal/var/www/te4.org/htdocs/dl/modules/tome/
52 52 rm -f tome*nomusic.team
53 53 rm -f boot*nomusic.team
54 54 rm -rf tome
... ... @@ -109,8 +109,8 @@ done
109 109 rm game/modules/tome*-music.team
110 110 #rm game/modules/tome*team
111 111 rm game/modules/boot*team
112   -#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
113   -cp /var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
  112 +#cp /foreign/eyal/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
  113 +cp /foreign/eyal/var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
114 114 cd ..
115 115 tar cvjf t-engine4-src-"$ver"-nomusic.tar.bz2 t-engine4-src-"$ver"
116 116
... ... @@ -124,8 +124,8 @@ done
124 124 rm game/modules/tome*-music.team
125 125 #rm game/modules/tome*team
126 126 rm game/modules/boot*team
127   -#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
128   -cp /var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
  127 +#cp /foreign/eyal/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
  128 +cp /foreign/eyal/var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
129 129 cd ..
130 130 zip -r -9 t-engine4-windows-"$ver"-nomusic.zip t-engine4-windows-"$ver"
131 131
... ... @@ -139,8 +139,8 @@ done
139 139 rm game/modules/tome*-music.team
140 140 #rm game/modules/tome*team
141 141 rm game/modules/boot*team
142   -#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
143   -cp /var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
  142 +#cp /foreign/eyal/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
  143 +cp /foreign/eyal/var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
144 144 cd ..
145 145 tar -cvjf t-engine4-linux32-"$ver"-nomusic.tar.bz2 t-engine4-linux32-"$ver"
146 146
... ... @@ -154,12 +154,12 @@ done
154 154 rm game/modules/tome*-music.team
155 155 #rm game/modules/tome*team
156 156 rm game/modules/boot*team
157   -#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
158   -cp /var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
  157 +#cp /foreign/eyal/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
  158 +cp /foreign/eyal/var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
159 159 cd ..
160 160 tar -cvjf t-engine4-linux64-"$ver"-nomusic.tar.bz2 t-engine4-linux64-"$ver"
161 161
162   -cp *zip *bz2 *dmg.gz /var/www/te4.org/htdocs/dl/t-engine
  162 +cp *zip *bz2 *dmg.gz /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine
163 163
164 164 ########## Announce
165 165
... ...
... ... @@ -16,9 +16,13 @@ if test "$os" = 'linux64'; then
16 16 ext=".tar.bz2"
17 17 unpack="tar xvjf"
18 18 fi
  19 +if test "$os" = 'linux32'; then
  20 + ext=".tar.bz2"
  21 + unpack="tar xvjf"
  22 +fi
19 23
20   -$unpack /var/www/te4.org/htdocs/dl/t-engine/t-engine4-$os-$old$ext
21   -$unpack /var/www/te4.org/htdocs/dl/t-engine/t-engine4-$os-$new$ext
  24 +$unpack /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine/t-engine4-$os-$old$ext
  25 +$unpack /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine/t-engine4-$os-$new$ext
22 26
23 27 oldv=`ls t-engine4-$os-$old/game/modules/tome-*[0-9].team | head -n1 | sed -e 's/^.*tome-//' -e 's/\.team$//'`
24 28 newv=`ls t-engine4-$os-$new/game/modules/tome-*[0-9].team | head -n1 | sed -e 's/^.*tome-//' -e 's/\.team$//'`
... ... @@ -26,7 +30,7 @@ newv=`ls t-engine4-$os-$new/game/modules/tome-*[0-9].team | head -n1 | sed -e 's
26 30 cd "t-engine4-$os-$new"
27 31 sh ../../utils/te4_patch.sh $oldv $newv ../t-engine4-$os-$old ../patch $os
28 32 pmd5=`md5sum ../$os-patch-$oldv-to-$newv.zip | cut -d' ' -f1`
29   -cp "../$os-patch-$oldv-to-$newv.zip" /var/www/te4.org/htdocs/dl/t-engine/patch/
  33 +cp "../$os-patch-$oldv-to-$newv.zip" /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine/patch/
30 34
31 35 echo "SQL:"
32 36 echo "REPLACE INTO patch_chain SET os='$os', vfrom='$oldv', vto='$newv', file='$os-patch-$oldv-to-$newv.zip', md5='$pmd5', shown='false';"
... ...