[Libreoffice-commits] .: Branch 'libreoffice-3-3' - pyuno/demo

René Engelhard rene at kemper.freedesktop.org
Fri Feb 11 13:47:46 PST 2011


 pyuno/demo/pyunoenv.tcsh |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 7744c3ad6f33c2cb80ae8a1005dce1d5ea2f65c0
Author: Rene Engelhard <rene at debian.org>
Date:   Fri Feb 11 22:47:35 2011 +0100

    fix pyuno/demo/pyunoenv.tcsh for PYTHONPATH usage

diff --git a/pyuno/demo/pyunoenv.tcsh b/pyuno/demo/pyunoenv.tcsh
index 1a83199..d17aa37 100644
--- a/pyuno/demo/pyunoenv.tcsh
+++ b/pyuno/demo/pyunoenv.tcsh
@@ -17,7 +17,12 @@ if( ! $?LD_LIBRARY_PATH ) then
 setenv LD_LIBRARY_PATH
 endif
 
-setenv PYTHONPATH .:$OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib:$PYTHONPATH
+if ( $?PYTHOHOME )
+	setenv PYTHONPATH $OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib:$PYTHONPATH
+else
+	setenv PYTHONPATH $OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib
+endif
+	
 setenv LD_LIBRARY_PATH $OOOHOME/program:$LD_LIBRARY_PATH
 
 if( $?PYTHONHOME ) then


More information about the Libreoffice-commits mailing list