Files
qt6-migration-pipeline/external/rti_connext_dds-7.7.0/bin/rtishapesdemo
T
torsten 77c67c12ca Execute the same instructions but now for tools in folders you are getti
Entire-Metadata: .entire/metadata/fb87247f-2a75-407e-b336-cbc8c20ba5a6
Entire-Session: fb87247f-2a75-407e-b336-cbc8c20ba5a6
Entire-Strategy: manual-commit
2026-09-24 16:24:51 +00:00

59 lines
1.8 KiB
Bash
Executable File

#!/bin/sh
#########################################################################
# (c) 2015 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_location=`cd "\`dirname "$filename"\`"; pwd`
executable_name=rtishapesdemo
application_name=shapes_demo
script_version=7.7.0.0
needs_shared_libraries=false
# Running on Mac from within the .app launching script
if [ -d "$script_location/../MacOS" ]
then
script_dir=$script_location/../../../../../../../bin
needs_platform_name=false
else
script_dir=$script_location
fi
# Configure path to rticommon.sh script
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
fi
# Running on Mac from bin/rtishapesdemo
os=`uname -s`
if [ "x$os" = "xDarwin" ] && [ "x$needs_platform_name" != "xfalse" ]
then
open_cmd="open -n"
args_flag="--args"
executable_name=RTI\ Shapes\ Demo.app
else
open_cmd=
fi
. "$rticommon_script_dir/$rticommon_script_name"
# If running within .app we just run the executable
if [ "x$needs_platform_name" = "xfalse" ]
then
executable="$script_location/../Resources/$executable_name"
else
executable="$bin_dir/$platform_name/$executable_name"
fi
$open_cmd "$executable" $args_flag \
-templateDir "$resource_user_config_dir/$application_name" \
-workspaceDir "$home_user_config_dir/$application_name" "$@"