[gcompris] internal tool: now the runit.sh script recreates the menu.xml file based on the menu.xml.in



commit ca95d01befaf8f28fbc30b060e57959ad500bb10
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Tue Jul 10 20:38:23 2012 +0200

    internal tool: now the runit.sh script recreates the menu.xml file based on the menu.xml.in
    
    It is now no more needed to run make before running a python activity.

 src/runit.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/runit.sh b/src/runit.sh
index fbab9bc..436a3e8 100755
--- a/src/runit.sh
+++ b/src/runit.sh
@@ -27,6 +27,9 @@ if [ ! -f $gcompris ]; then
   gcompris=$1/../gcompris/gcompris
 fi
 
+# Recreate the activity.xml file
+sed -e "s/\(<\{1\}\/*\)_/\1/g" $1/${activity}.xml.in > $1/${activtiy}.xml
+
 $gcompris -L $plugindir \
     -P $pythonplugindir \
     -A $resourcedir \



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