[orca] Handle multiple and alternate installations
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Handle multiple and alternate installations
- Date: Mon, 14 May 2012 05:53:02 +0000 (UTC)
commit 3925759dbbabc39ea1ce264b57532b7de10d18a9
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon May 14 01:51:54 2012 -0400
Handle multiple and alternate installations
src/orca/orca.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/orca.in b/src/orca/orca.in
index a93cc53..08853b5 100644
--- a/src/orca/orca.in
+++ b/src/orca/orca.in
@@ -57,6 +57,10 @@ def setProcessName():
def main():
setProcessName()
+ sys.prefix = '@prefix@'
+ pyexecdir = '@pyexecdir@'.replace('${exec_prefix}', '@prefix@')
+ sys.path.insert(1, pyexecdir)
+
from orca import orca
return orca.main()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]