summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2011-01-17 15:09:25 +0100
committerobo <obo@openoffice.org>2011-01-17 15:09:25 +0100
commit5db45be24d6a21f8f71913c51658986a21ce4552 (patch)
tree68fff5088fa98a573558b2a4e1e29e71b10cbb2d /pyuno
parentdd87ee3c72b050ed6fda95788bcb59a55f31889c (diff)
parent6103f40bc8c7e24efeb79e3a78587ac9cd78ba1e (diff)
CWS-TOOLING: integrate CWS calc65
Notes
Notes: split repo tag: ure_ooo/OOO330_m20
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/demo/pyunoenv.tcsh7
1 files changed, 6 insertions, 1 deletions
diff --git a/pyuno/demo/pyunoenv.tcsh b/pyuno/demo/pyunoenv.tcsh
index 1a831996325f..038cf2ddb45b 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( "$PYTHONPATH" != "" ) then
+ 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