forked from q3shafe/trepidation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate.sh
32 lines (32 loc) · 851 Bytes
/
update.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
echo "Update from github\n"
echo "This will build you a working snapshot of Trepidation\n";
echo "The working game directory will be trep/build\n";
echo "YOU MUST RUN THE BUILD.SH SCRIPT FIRST!\n";
mkdir trep
cd trep
mkdir build
mkdir build/base
mkdir build/docs
cd trepidation
git pull
cd game-media
cp *.dll ../../build
cp trep* ../../build
cd pak0-gpl2data
zip -r ../../../build/base/pak0-gpl2data.pk3 *
cd ..
cd pak1-ccdata
zip -r ../../../build/base/pak1-ccdata.pk3 *
cd ..
cd pak0-vms
zip -r ../../../build/base/pak0-vms.pk3 *
cd ../../../
cp trepidation/Docs/server/* build/base
cp trepidation/Docs/linux/*.sh build/
cp trepidation/Docs/linux/R* build/docs/
cp trepidation/Docs/quake3/* build/docs/
cp trepidation/Docs/*.txt build/docs/
cp trepidation/Docs/*.TXT build/docs/
cp trepidation/Docs/*.bat build/
cd build
#zip -r trep-snapshot.zip *