Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2008-03-14 23:13:50 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2008-03-14 23:13:50 (GMT)
commitb5ec85b9e29ec225ac926f53029146d6d85a8748 (patch)
tree4c92a35261aa7fbed7c76219784a12856d0defae
parentaae4e7818908387b9f9296e88a4081ac8fa4452d (diff)
fixed the bundle script to support python activity that points to another one
like connect4-2players and redraw-symmetry svn path=/branches/gcomprixo/; revision=3303
-rwxr-xr-xsrc/bundleit.sh6
l---------src/connect4-2players-activity/connect4p1
2 files changed, 6 insertions, 1 deletions
diff --git a/src/bundleit.sh b/src/bundleit.sh
index ffd8f74..53b3099 100755
--- a/src/bundleit.sh
+++ b/src/bundleit.sh
@@ -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 @@ if [ -f $activity_dir/.libs/*.so ]; then
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 @@ rm -f $activity_dir/libmenu.so
# 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
diff --git a/src/connect4-2players-activity/connect4p b/src/connect4-2players-activity/connect4p
new file mode 120000
index 0000000..3a78623
--- /dev/null
+++ b/src/connect4-2players-activity/connect4p
@@ -0,0 +1 @@
+../connect4-activity/connect4p \ No newline at end of file