3 MONO_CFG_DIR='@mono_cfg_dir@'
4 PATH="$r/runtime/_tmpinst/bin:$PATH"
5 MONO_EXECUTABLE=${MONO_EXECUTABLE:-"$r/@mono_runtime@"}
6 export MONO_CFG_DIR PATH
7 if [ -n "@nacl_self_host@" ]; then
9 # gacutil.exe and mdoc.exe require filesystem functionality not
11 # mcs.exe was added to the list recently because mcs under NaCl
12 # no longer produces equivalent output. TODO: investigate
13 */mcs.exe* | */gacutil.exe* | */mdoc.exe* ) exec /usr/local/bin/mono "$@";;
16 exec "$r/libtool" --mode=execute "${MONO_EXECUTABLE}" --config "@mono_cfg_dir@/mono/config" "$@"