diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2011-01-25 09:58:16 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2011-01-25 09:58:16 +0100 |
commit | 37b910bece2dcb4fabad86a2043adaf66748b099 (patch) | |
tree | 6cb2572eda26ea7ac24d574fd8e38c1575a74076 /pyuno | |
parent | 215e06e795c62dc9b2762932ecece9227dc3ea3d (diff) | |
parent | 5db45be24d6a21f8f71913c51658986a21ce4552 (diff) |
#i10000# #i10000# changes from OOO330 m20
Diffstat (limited to 'pyuno')
-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 |