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:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2016-02-19 22:19:58 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2016-02-22 13:50:26 +0300
commit9e36a501473ae951211ecc9df1fcd4460679da83 (patch)
treec4afbfca73065dc3dbf6f7ee1373683fb0befe94 /scripts/dmcs.in
parentfaef6b6520adc59d9f6d5e7ef88fe56c9c02a77a (diff)
[scripts] Add deprecation warning to dmcs
dmcs was deprecated in favor of mcs a while back, yet people are still creating new scripts with it. Adding a message that shows up on each dmcs invocation should hopefully make this more obvious.
Diffstat (limited to 'scripts/dmcs.in')
-rwxr-xr-xscripts/dmcs.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dmcs.in b/scripts/dmcs.in
index e86cdf9df09..223dac2e7f6 100755
--- a/scripts/dmcs.in
+++ b/scripts/dmcs.in
@@ -1,2 +1,3 @@
#!/bin/sh
+echo "Note: dmcs is deprecated, please use mcs instead!"
exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/4.5/mcs.exe -sdk:4.0 "$@"