[mono-api-html] Prettier output using singular and plural forms in sections
[mono-project.git] / runtime / mono-wrapper.in
blob18c8cb5e47b959b19d0c26b29a9f2bc42ae35cce
1 #! /bin/sh
2 r='@mono_build_root@'
3 MONO_CFG_DIR='@mono_cfg_dir@'
4 PATH="$r/runtime/_tmpinst/bin:$PATH"
5 MONO_SHARED_DIR=$r/runtime
6 export MONO_CFG_DIR MONO_SHARED_DIR PATH
7 if [ -n "@nacl_self_host@" ]; then
8 case "$@" in
9 # gacutil.exe and mdoc.exe require filesystem functionality not
10 # exposed in NaCl.
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 "$@";;
14 esac
16 exec "$r/libtool" --mode=execute "$r/@mono_runtime@" --config "@mono_cfg_dir@/mono/config" "$@"