2010-04-13 11:49:30 -05:00
|
|
|
#!/bin/sh
|
|
|
|
if [ x${SOLARENV}x = xx ]; then
|
|
|
|
echo No environment found, please use 'setsolar'
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${OS?}" = MACOSX ]; then
|
2011-04-18 06:03:23 -05:00
|
|
|
export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+${DYLD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib
|
2010-04-13 11:49:30 -05:00
|
|
|
else
|
2011-04-18 06:03:23 -05:00
|
|
|
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib
|
2010-04-13 11:49:30 -05:00
|
|
|
fi
|
|
|
|
|
2011-04-18 06:03:23 -05:00
|
|
|
exec $SOLARVERSION/$INPATH/bin/gsicheck "$@"
|