16 lines
461 B
Bash
Executable file
16 lines
461 B
Bash
Executable file
#!/bin/bash
|
|
if [ x${SOLARENV}x = xx ]; then
|
|
echo No environment found, please use 'setsolar'
|
|
exit 1
|
|
fi
|
|
|
|
if [ "${OS?}" = MACOSX ]; then
|
|
export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+${DYLD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH_FOR_BUILD?}/lib
|
|
else
|
|
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${SOLARVERSION?}/${INPATH_FOR_BUILD?}/lib
|
|
fi
|
|
|
|
pushd $(pwd)
|
|
cd ${SRC_ROOT}
|
|
exec $SOLARVERSION/$INPATH_FOR_BUILD/bin/localize_sl "$@"
|
|
popd
|