reaction/doit.sh

20 lines
551 B
Bash
Raw Normal View History

2012-03-17 18:36:08 +00:00
#!/bin/bash
#
# Script to set up after build on JB's system
#
cd build/release-linux-x86_64/
2012-03-20 17:58:57 +00:00
cp Reaction* *.so /usr/local/games/Reaction/
2012-03-17 18:36:08 +00:00
cd Boomstick
2012-03-20 17:58:57 +00:00
cp *.so /usr/local/games/Reaction/Boomstick/
2012-03-17 18:36:08 +00:00
rm -f /usr/local/games/Reaction/Boomstick/zzzzzzzzzzzzzzzzzzzz-code.pk3
zip -r /usr/local/games/Reaction/Boomstick/zzzzzzzzzzzzzzzzzzzz-code.pk3 vm/
2012-03-21 11:54:36 +00:00
# Check for the Windows bins
cd ../..
if [ -d release-mingw32-x86 ]; then
cd release-mingw32-x86
cp *.exe *.dll /usr/local/games/Reaction/
cd Boomstick
cp *.dll /usr/local/games/Reaction/Boomstick/
fi