1 # No shebang; it makes no sense to execute this standalone.
3 if [ -z "$OOO_BASIS" ]; then
4 basis="$(echo /usr/lib/openoffice.org/basis*)"
5 if ! [ -d "$basis" ]; then
6 echo >&2 "Could not find /usr/lib/openoffice.org/basis* dir."
7 echo >&2 "Make sure you have the OOo SDK installed."
10 export OOO_BASIS="$basis"
12 # One would hope PATH is set, but we'll use the same test for consistency.
13 export PATH="$OOO_BASIS/sdk/bin:$OOO_BASIS/ure-link/bin${PATH+:${PATH}}"
15 # Seems to be no longer needed in OOo 3.1: the executables have the
16 # library path coded into them.
17 #export LD_LIBRARY_PATH="$OOO_BASIS/ure-link/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}"