[Scummvm-cvs-logs] SF.net SVN: scummvm: [27324] scummvm/branches/branch-0-10-0/backends/ platform/gp2x/build/bundle.sh
djwillis at users.sourceforge.net
djwillis at users.sourceforge.net
Sun Jun 10 19:46:40 CEST 2007
Revision: 27324
http://scummvm.svn.sourceforge.net/scummvm/?rev=27324&view=rev
Author: djwillis
Date: 2007-06-10 10:46:39 -0700 (Sun, 10 Jun 2007)
Log Message:
-----------
Update the GP2X bundle.sh to copy COPYRIGHT file into the distribution zip file. (Branch 0.10.0)
Modified Paths:
--------------
scummvm/branches/branch-0-10-0/backends/platform/gp2x/build/bundle.sh
Modified: scummvm/branches/branch-0-10-0/backends/platform/gp2x/build/bundle.sh
===================================================================
--- scummvm/branches/branch-0-10-0/backends/platform/gp2x/build/bundle.sh 2007-06-10 16:56:15 UTC (rev 27323)
+++ scummvm/branches/branch-0-10-0/backends/platform/gp2x/build/bundle.sh 2007-06-10 17:46:39 UTC (rev 27324)
@@ -24,6 +24,7 @@
cp ../../../../AUTHORS ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../README ./scummvm-gp2x-`date '+%Y-%m-%d'`/
cp ../../../../COPYING ./scummvm-gp2x-`date '+%Y-%m-%d'`/
+cp ../../../../COPYRIGHT ./scummvm-gp2x-`date '+%Y-%m-%d'`/
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'`/
@@ -33,4 +34,16 @@
arm-open2x-linux-strip ./scummvm-gp2x-`date '+%Y-%m-%d'`/scummvm.gp2x
echo Building ZIP bundle.
-echo You should have a "scummvm-gp2x-`date '+%Y-%m-%d'`.zip" for the GP2X port ready to go.
+if [ -f /usr/bin/zip ]
+ then
+ cd "scummvm-gp2x-`date '+%Y-%m-%d'`"
+ zip "../scummvm-gp2x-`date '+%Y-%m-%d'`.zip" * -r -9
+ echo You should have a "scummvm-gp2x-`date '+%Y-%m-%d'`.zip" for the GP2X port ready to go.
+ echo All included files can also be found in ./"scummvm-gp2x-`date '+%Y-%m-%d'`"
+ else
+ echo - /usr/bin/zip not found, ZIP bundle not created.
+ echo All included files can also be found in ./"scummvm-gp2x-`date '+%Y-%m-%d'`"
+ echo - Please use you preferred archive tool to bundle these files.
+fi
+
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list