libreoffice/system-python-ure-bootstrap.diff
2012-04-04 17:20:25 +00:00

16 lines
472 B
Diff

--- pyuno/source/module/uno.py.old 2012-02-24 16:34:51.000000000 +0100
+++ pyuno/source/module/uno.py 2012-03-01 15:56:27.000000000 +0100
@@ -26,8 +26,12 @@
# for a copy of the LGPLv3 License.
#
#*************************************************************************
+import os
import sys
+if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
+ os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:@INSTALLDIR@/program/fundamentalrc"
+
import pyuno
try: