Skip to content
Snippets Groups Projects
Commit 0318b3ec authored by DarkGod's avatar DarkGod
Browse files

fix paths

parent ab361c66
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,8 @@ read ivmd
echo "*********** MD5 for Stone Wardens: *********"
read swmd
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
fmd5=`md5sum /var/www/te4.org/htdocs/dl/t-engine/full/tome-full-windows-$v.zip | cut -d' ' -f1`
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
fmd5=`md5sum /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine/full/tome-full-windows-$v.zip | cut -d' ' -f1`
echo "SQL:"
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
cd game/engines
te4_pack_engine.sh default/ te4-"$ever"
te4_pack_engine.sh default/ te4-"$ever" 1
\cp -f te4-*.teae boot-te4-*.team /var/www/te4.org/htdocs/dl/engines
\cp -f te4-*.teae boot-te4-*.team /foreign/eyal/var/www/te4.org/htdocs/dl/engines
mv boot*team ../modules
rm -rf default
cd ../modules
te4_pack_module_tome.sh tome "$tver"
#te4_pack_module.sh tome "$tver" 1
\cp -f tome*.team /var/www/te4.org/htdocs/dl/modules/tome/
\cp -f tome*.team /foreign/eyal/var/www/te4.org/htdocs/dl/modules/tome/
rm -f tome*nomusic.team
rm -f boot*nomusic.team
rm -rf tome
......@@ -109,8 +109,8 @@ done
rm game/modules/tome*-music.team
#rm game/modules/tome*team
rm game/modules/boot*team
#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp /var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
#cp /foreign/eyal/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp /foreign/eyal/var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
cd ..
tar cvjf t-engine4-src-"$ver"-nomusic.tar.bz2 t-engine4-src-"$ver"
......@@ -124,8 +124,8 @@ done
rm game/modules/tome*-music.team
#rm game/modules/tome*team
rm game/modules/boot*team
#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp /var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
#cp /foreign/eyal/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp /foreign/eyal/var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
cd ..
zip -r -9 t-engine4-windows-"$ver"-nomusic.zip t-engine4-windows-"$ver"
......@@ -139,8 +139,8 @@ done
rm game/modules/tome*-music.team
#rm game/modules/tome*team
rm game/modules/boot*team
#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp /var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
#cp /foreign/eyal/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp /foreign/eyal/var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
cd ..
tar -cvjf t-engine4-linux32-"$ver"-nomusic.tar.bz2 t-engine4-linux32-"$ver"
......@@ -154,12 +154,12 @@ done
rm game/modules/tome*-music.team
#rm game/modules/tome*team
rm game/modules/boot*team
#cp /var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp /var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
#cp /foreign/eyal/var/www/te4.org/htdocs/dl/modules/tome/tome-"$tver"-nomusic.team game/modules/
cp /foreign/eyal/var/www/te4.org/htdocs/dl/engines/boot-te4-"$ever"-nomusic.team game/modules/
cd ..
tar -cvjf t-engine4-linux64-"$ver"-nomusic.tar.bz2 t-engine4-linux64-"$ver"
cp *zip *bz2 *dmg.gz /var/www/te4.org/htdocs/dl/t-engine
cp *zip *bz2 *dmg.gz /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine
########## Announce
......
......@@ -16,9 +16,13 @@ if test "$os" = 'linux64'; then
ext=".tar.bz2"
unpack="tar xvjf"
fi
if test "$os" = 'linux32'; then
ext=".tar.bz2"
unpack="tar xvjf"
fi
$unpack /var/www/te4.org/htdocs/dl/t-engine/t-engine4-$os-$old$ext
$unpack /var/www/te4.org/htdocs/dl/t-engine/t-engine4-$os-$new$ext
$unpack /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine/t-engine4-$os-$old$ext
$unpack /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine/t-engine4-$os-$new$ext
oldv=`ls t-engine4-$os-$old/game/modules/tome-*[0-9].team | head -n1 | sed -e 's/^.*tome-//' -e 's/\.team$//'`
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
cd "t-engine4-$os-$new"
sh ../../utils/te4_patch.sh $oldv $newv ../t-engine4-$os-$old ../patch $os
pmd5=`md5sum ../$os-patch-$oldv-to-$newv.zip | cut -d' ' -f1`
cp "../$os-patch-$oldv-to-$newv.zip" /var/www/te4.org/htdocs/dl/t-engine/patch/
cp "../$os-patch-$oldv-to-$newv.zip" /foreign/eyal/var/www/te4.org/htdocs/dl/t-engine/patch/
echo "SQL:"
echo "REPLACE INTO patch_chain SET os='$os', vfrom='$oldv', vto='$newv', file='$os-patch-$oldv-to-$newv.zip', md5='$pmd5', shown='false';"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment