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