gcompris r3303 - in branches/gcomprixo/src: . connect4-2players-activity



Author: bcoudoin
Date: Fri Mar 14 23:13:50 2008
New Revision: 3303
URL: http://svn.gnome.org/viewvc/gcompris?rev=3303&view=rev

Log:
fixed the bundle script to support python activity that points to another one
like connect4-2players and redraw-symmetry


Added:
   branches/gcomprixo/src/connect4-2players-activity/connect4p   (contents, props changed)
Modified:
   branches/gcomprixo/src/bundleit.sh

Modified: branches/gcomprixo/src/bundleit.sh
==============================================================================
--- branches/gcomprixo/src/bundleit.sh	(original)
+++ branches/gcomprixo/src/bundleit.sh	Fri Mar 14 23:13:50 2008
@@ -3,6 +3,7 @@
 # A far from complete script that can create a binary tarball
 # for the given activity.
 #
+
 if test -z "$1"; then
     echo "Usage: bundleit.sh directory-activity [locale code]"
     echo "Example (for french locale):"
@@ -87,7 +88,7 @@
 fi
 rm -rf $activity_dir/.libs
 rm -rf $activity_dir/*.in
-if [ -f $extra_bin ]; then
+if [ -f "$extra_bin" ]; then
   cp $extra_bin $activity_dir/bin
 fi
 
@@ -128,6 +129,9 @@
 # Add the python plugins
 if [ -f $pythonplugindir/*.py ]; then
   cp $pythonplugindir/*.py $activity_dir
+  # Add the GCompris binding
+  rm -f $activity_dir/gcompris
+  ln -s ../boards/python/gcompris -t $activity_dir
 fi
 
 # Add the runit.sh script

Added: branches/gcomprixo/src/connect4-2players-activity/connect4p
==============================================================================
--- (empty file)
+++ branches/gcomprixo/src/connect4-2players-activity/connect4p	Fri Mar 14 23:13:50 2008
@@ -0,0 +1 @@
+link ../connect4-activity/connect4p
\ No newline at end of file



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]