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