OOO330
[LibreOffice.git] / solenv / bin / gsicheck
blobfb2f65cbe01d2513d7f467915fb8a88c0bc6d65c
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?}/lib${UPDMINOREXT}
9 else
10 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib${UPDMINOREXT}
13 if [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then
14 exec $SOLARVERSION/$INPATH/bin/gsicheck "$@"
15 else
16 exec $SOLARVERSION/$INPATH/bin$UPDMINOREXT/gsicheck "$@"