[gcompris] tool, fixed runit to recreate properly the menu file.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] tool, fixed runit to recreate properly the menu file.
- Date: Tue, 17 Jul 2012 22:47:31 +0000 (UTC)
commit 22bdfe321b41a78e7ece9aa7baa49a760bee2c9f
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Wed Jul 18 00:46:10 2012 +0200
tool, fixed runit to recreate properly the menu file.
Before the fix a file .xml was created.
src/runit.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/runit.sh b/src/runit.sh
index 436a3e8..fd476cd 100755
--- a/src/runit.sh
+++ b/src/runit.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-set -x
+#set -x
if [ -z $1 ]; then
echo "Usage: runit.sh [GCompris activity directory]"
exit 1
@@ -28,7 +28,7 @@ if [ ! -f $gcompris ]; then
fi
# Recreate the activity.xml file
-sed -e "s/\(<\{1\}\/*\)_/\1/g" $1/${activity}.xml.in > $1/${activtiy}.xml
+sed -e "s/\(<\{1\}\/*\)_/\1/g" $1/${activity}.xml.in > $1/${activity}.xml
$gcompris -L $plugindir \
-P $pythonplugindir \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]