[gcompris] electric activity, minor, search gnucap.exe first to make it work onder wine on linux.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] electric activity, minor, search gnucap.exe first to make it work onder wine on linux.
- Date: Sun, 23 Oct 2011 10:18:12 +0000 (UTC)
commit ebaeac559277d751ef28505a87356c285bb67a7e
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sun Oct 16 16:32:31 2011 +0200
electric activity, minor, search gnucap.exe first to make it work onder wine on linux.
src/electric-activity/electric.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/electric-activity/electric.py b/src/electric-activity/electric.py
index d558aec..2edeb62 100644
--- a/src/electric-activity/electric.py
+++ b/src/electric-activity/electric.py
@@ -86,10 +86,10 @@ class Gcompris_electric:
# You can provide a gnucap binary in python_plugin_dir.
#
for binary in (os.environ.get('GNUCAP', ''),
+ "gnucap.exe",
os.path.join(gcompris.PYTHON_PLUGIN_DIR, 'bin', 'gnucap'),
"/usr/bin/gnucap",
"/usr/local/bin/gnucap",
- "gnucap.exe",
os.path.join(gcompris.DATA_DIR, '..' , '..', '..', 'bin', 'gnucap')):
if(os.path.exists(binary)):
self.gnucap_binary = binary
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]