2010-01-22 11:50:33 -06:00
|
|
|
#!/bin/sh
|
|
|
|
if [ x${SOLARENV}x = xx ]; then
|
|
|
|
echo No environment found, please use 'setsolar'
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${OS?}" = MACOSX ]; then
|
2010-09-09 03:48:03 -05:00
|
|
|
export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+${DYLD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib${UPDMINOREXT}
|
2010-01-22 11:50:33 -06:00
|
|
|
else
|
2010-09-09 03:48:03 -05:00
|
|
|
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib${UPDMINOREXT}
|
2010-01-22 11:50:33 -06:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then
|
|
|
|
exec $SOLARVERSION/$INPATH/bin/localize_sl "$@"
|
|
|
|
else
|
|
|
|
exec $SOLARVERSION/$INPATH/bin$UPDMINOREXT/localize_sl "$@"
|
|
|
|
fi
|
|
|
|
|