1*cdf0e10cSrcweir#!/bin/sh 2*cdf0e10cSrcweirif [ x${SOLARENV}x = xx ]; then 3*cdf0e10cSrcweir echo No environment found, please use 'setsolar' 4*cdf0e10cSrcweirexit 1 5*cdf0e10cSrcweirfi 6*cdf0e10cSrcweir 7*cdf0e10cSrcweirif [ "${OS?}" = MACOSX ]; then 8*cdf0e10cSrcweir export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+${DYLD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib${UPDMINOREXT} 9*cdf0e10cSrcweirelse 10*cdf0e10cSrcweir export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH?}/lib${UPDMINOREXT} 11*cdf0e10cSrcweirfi 12*cdf0e10cSrcweir 13*cdf0e10cSrcweirif [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then 14*cdf0e10cSrcweir exec $SOLARVERSION/$INPATH/bin/gsicheck "$@" 15*cdf0e10cSrcweirelse 16*cdf0e10cSrcweir exec $SOLARVERSION/$INPATH/bin$UPDMINOREXT/gsicheck "$@" 17*cdf0e10cSrcweirfi 18*cdf0e10cSrcweir 19