fix invalid superflous #endif from 5bd2890a56125d391b42f34d51e2e0c57b0a80b0
[LibreOffice.git] / solenv / bin / localize
blobfc1ae47b1bd8d5018596eddc4c09562624f6eac7
1 #!/bin/sh
2 if [ x${SOLARENV}x = xx ]; then
3 echo No environment found, please use 'setsolar'
4 exit 1
5 fi
7 if [ "${OS?}" = MACOSX ]; then
8 export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+${DYLD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH_FOR_BUILD?}/lib
9 else
10 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH_FOR_BUILD?}/lib
13 pushd $(pwd)
14 cd ${SRC_ROOT}
15 exec $SOLARVERSION/$INPATH_FOR_BUILD/bin/localize_sl "$@"
16 popd