summaryrefslogtreecommitdiff
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
commit77f9be2e934d3fb0ed88f6756074a2742a844b9c (patch)
treeece195b5b9b53667acf4bb80aa3b04636f96ca8e
parent79d99be4b5a05e8ce1f74acdfd730201bc517720 (diff)
parentbed939504eaccdcc83efc22bc4c2afa775c4aa4f (diff)
CWS-TOOLING: integrate CWS calc65ooo/OOO330_m20
-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 1a8319963..038cf2ddb 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