From 7dfcc480ba1e19bd3232349fc733caef94034292 Mon Sep 17 00:00:00 2001 From: stainer_t Date: Mon, 8 Sep 2025 13:48:49 +0200 Subject: Initial commit from Polytechnique Montreal --- .../Reflector_beavrs_DF-RT_Jeff3p1SHEM295.access | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 Donjon/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295.access (limited to 'Donjon/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295.access') diff --git a/Donjon/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295.access b/Donjon/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295.access new file mode 100755 index 0000000..0e850c7 --- /dev/null +++ b/Donjon/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295.access @@ -0,0 +1,38 @@ +#!/bin/sh +if [ $# = 0 ] + then + echo "usage: Reflector_beavrs_DF-RT_Jeff3p1p1SHEM295.access directory" 1>&2 + exit 1 +fi +MACH=`uname -s` +Sysx="`echo $MACH | cut -b -6`" +if [ $Sysx = "CYGWIN" ]; then + MACH=`uname -o` +elif [ $Sysx = "Darwin" ]; then + MACH=`uname -sm | sed 's/[ ]/_/'` +elif [ $Sysx = "SunOS" ]; then + MACH=`uname -sm | sed 's/[ ]/_/'` +fi +if [ "$MACH" = "Linux" -o "$MACH" = "OSF1" -o "$MACH" = "Cygwin" -o "$MACH" = "SunOS_i86pc" \ +-o "$MACH" = "Darwin_i386" -o "$MACH" = "Darwin_x86_64" -o "$MACH" = "Darwin_arm64" \ +-o "$MACH" = "Linux_aarch64" ] +then + echo 'use little endian libraries' + pos=$1/../../libraries/l_endian +else + echo 'use big endian libraries' + pos=$1/../../libraries/b_endian +fi +if [ -f "$pos"/draglibJeff3p1p1SHEM295.gz ] + then + echo 'gunzipping draglibJeff3p1p1SHEM295' + chmod 755 "$pos" + gunzip "$pos"/draglibJeff3p1p1SHEM295.gz +fi +if [ -f "$pos"/draglibJeff3p1p1SHEM295 ] + then + ln -s "$pos"/draglibJeff3p1p1SHEM295 DLIB_295 +fi +ln -s $1/data/Reflector_beavrs_DF-RT_Jeff3p1SHEM295_proc/assbly_caseA_mpo_draglib_shem_feed.hdf . +ls -l +echo "Reflector_beavrs_DF-RT_Jeff3p1p1SHEM295 terminated" -- cgit v1.2.3