Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2013-08-21 02:56:25 +0400
committerZoltan Varga <vargaz@gmail.com>2013-08-21 02:57:28 +0400
commit8cb8add995b149fd8e569a33978585e94608b4fd (patch)
tree6446979e32db8697ec430ee2ec26fd8159b7f045 /scripts
parente0c4e5bf88e7d7cfa739b808cf6e6a0ebe68cd6e (diff)
Make the dmcs/gmcs scripts identical to the mcs script with an extra -sdk: argument, to avoid PATH problems, and to allow the windows installer to generate .bat files for them. Hopefully fixes #8813.
Diffstat (limited to 'scripts')
-rwxr-xr-x[-rw-r--r--]scripts/dmcs.in2
-rwxr-xr-x[-rw-r--r--]scripts/gmcs.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dmcs.in b/scripts/dmcs.in
index 716c1acad1c..e59bacf91a8 100644..100755
--- a/scripts/dmcs.in
+++ b/scripts/dmcs.in
@@ -1,2 +1,2 @@
#!/bin/sh
-mcs -sdk:4 "$@"
+exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/4.5/mcs.exe -sdk:4 "$@"
diff --git a/scripts/gmcs.in b/scripts/gmcs.in
index df33e6cfec2..64005f5c09f 100644..100755
--- a/scripts/gmcs.in
+++ b/scripts/gmcs.in
@@ -1,2 +1,2 @@
#!/bin/sh
-mcs -sdk:2 "$@"
+exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/4.5/mcs.exe -sdk:2 "$@"