aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorJohn Willis2008-04-17 19:24:27 +0000
committerJohn Willis2008-04-17 19:24:27 +0000
commit0336442dc41132b3c852cb24b190a7ab9e3a23f4 (patch)
tree00f8f4a99cd61f0f734979c6cc397035b1c9c02b /backends/platform
parentb03ec8ac7594c99d1a71ff0021b4101c304915e6 (diff)
downloadscummvm-rg350-0336442dc41132b3c852cb24b190a7ab9e3a23f4.tar.gz
scummvm-rg350-0336442dc41132b3c852cb24b190a7ab9e3a23f4.tar.bz2
scummvm-rg350-0336442dc41132b3c852cb24b190a7ab9e3a23f4.zip
Cleanup the shell script that puts a GP2X archive together.
svn-id: r31551
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/gp2x/build/bundle.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/gp2x/build/bundle.sh b/backends/platform/gp2x/build/bundle.sh
index 8ac1c0ccc5..9824c9b451 100644
--- a/backends/platform/gp2x/build/bundle.sh
+++ b/backends/platform/gp2x/build/bundle.sh
@@ -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.