[accerciser/gnome-3-4] Fix for bug #673782 - Accerciser does not fully load in F17



commit 4d9507b3c751119c0f7cd1635ca46646463ab5ce
Author: Javier HernÃndez <jhernandez emergya com>
Date:   Sat Apr 14 22:58:39 2012 +0200

    Fix for bug #673782 - Accerciser does not fully load in F17

 src/accerciser.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/accerciser.in b/src/accerciser.in
index 424eb60..980ef73 100755
--- a/src/accerciser.in
+++ b/src/accerciser.in
@@ -21,7 +21,7 @@ os.environ['GTK_MODULES'] = 'gail:atk-bridge'
 sys.path.append(os.path.join(os.environ['HOME'], '.accerciser'))
 # We can't rely on prefix if we're installed by relocated RPM. Instead, we 
 # use __file__ and for now hope that lib is relative to bin.
-sys.prefix = os.path.normpath(os.path.join(os.path.dirname(__file__), '..'))
+sys.prefix = '@prefix@'
 libs = os.path.join(sys.prefix, 'lib',
                     'python PYTHON_VERSION@', 'site-packages')
 # point to the proper site-packages path



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