#!/bin/sh

# adjust this path if you move the installation
SCRIPT="$(readlink --canonicalize-existing "$0")"
SCRIPTPATH="$(dirname "$SCRIPT")"
# myINSTDIR=>>>insert physical file path here<<</mymc
myINSTDIR=$SCRIPTPATH

myEXE=$myINSTDIR/mc.bin
myLIBDIR=$myINSTDIR/lib
myLDSO=$myLIBDIR/ld.so
export MC_DATADIR=$myINSTDIR/etc
# uncomment to enable debug output (like ldd)
#$myLDSO --library-path $myLIBDIR --list $myEXE

exec $myLDSO --library-path $myLIBDIR $myEXE "$*"
