#!/bin/sh ######################################################################### # (c) 2005-2014 Copyright, Real-Time Innovations. All rights reserved. # # No duplications, whole or partial, manual or electronic, may be made # # without express written permission. Any such copies, or # # revisions thereof, must display this notice unaltered. # # This code contains trade secrets of Real-Time Innovations, Inc. # ######################################################################### filename=$0 script_dir=`cd "\`dirname "$filename"\`"; pwd` executable_name=rtiwebintegrationserviceapp script_version=7.7.0.0 civetweb_version=1.16 needs_shared_libraries=true rticommon_script_dir=$script_dir/../resource/scripts rticommon_script_name=rticommon.sh if [ ! -f "$rticommon_script_dir/$rticommon_script_name" ] then rticommon_script_dir=$script_dir/../../ndds.4.1/resource/scripts lib_dir=$script_dir/../../ndds.4.1/lib bin_dir=$script_dir/../lib fi . "$rticommon_script_dir/$rticommon_script_name" # Add CivetWeb library folder to LD_ and DYLD_LIBRARY_PATH environment variables LD_LIBRARY_PATH="$NDDSHOME/third_party/civetweb-$civetweb_version/$platform_name/release/lib":$LD_LIBRARY_PATH; export LD_LIBRARY_PATH DYLD_LIBRARY_PATH="$NDDSHOME/third_party/civetweb-$civetweb_version/$platform_name/release/lib":$DYLD_LIBRARY_PATH; export DYLD_LIBRARY_PATH "$bin_dir/$platform_name/$executable_name" "$@"