Cleanup the shell script that puts a GP2X archive together.

svn-id: r31551
This commit is contained in:
John Willis 2008-04-17 19:24:27 +00:00
parent b03ec8ac75
commit 0336442dc4

View File

@ -12,6 +12,7 @@ export LDFLAGS=-L/opt/open2x/gcc-4.1.1-glibc-2.3.6/lib
echo Collecting files.
mkdir "scummvm-gp2x-`date '+%Y-%m-%d'`"
mkdir "scummvm-gp2x-`date '+%Y-%m-%d'`/saves"
mkdir "scummvm-gp2x-`date '+%Y-%m-%d'`/engine-data"
echo "Please put your save games in this dir" >> "scummvm-gp2x-`date '+%Y-%m-%d'`/saves/PUT_SAVES_IN_THIS_DIR"
@ -29,6 +30,7 @@ cp ../../../../NEWS ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../gui/themes/modern.ini ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../gui/themes/modern.zip ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../dists/pred.dic ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../dists/engine-data/* ./scummvm-gp2x-`date '+%Y-%m-%d'`/engine-data
echo Making Stripped GPE.
arm-open2x-linux-strip ./scummvm-gp2x-`date '+%Y-%m-%d'`/scummvm.gp2x
@ -36,7 +38,7 @@ arm-open2x-linux-strip ./scummvm-gp2x-`date '+%Y-%m-%d'`/scummvm.gp2x
echo Building ZIP bundle.
if [ -f /usr/bin/zip ]
then
rm ./"gp2xkernel-open2x-`date '+%Y-%m-%d'`.zip"
rm ./"scummvm-gp2x-`date '+%Y-%m-%d'`.zip"
cd "scummvm-gp2x-`date '+%Y-%m-%d'`"
zip -r -9 "../scummvm-gp2x-`date '+%Y-%m-%d'`.zip" *
echo You should have a "scummvm-gp2x-`date '+%Y-%m-%d'`.zip" for the GP2X port ready to go.