diff options
author | Niklas Nebel <nn@openoffice.org> | 2011-01-13 17:00:01 +0100 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2011-01-13 17:00:01 +0100 |
commit | 6103f40bc8c7e24efeb79e3a78587ac9cd78ba1e (patch) | |
tree | 68fff5088fa98a573558b2a4e1e29e71b10cbb2d | |
parent | dd87ee3c72b050ed6fda95788bcb59a55f31889c (diff) |
calc65: fix pyuno environment script
-rw-r--r-- | pyuno/demo/pyunoenv.tcsh | 7 |
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 |