From: Alexander Köplinger Date: Fri, 19 Feb 2016 19:19:58 +0000 (+0100) Subject: [scripts] Add deprecation warning to dmcs X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=9e36a501473ae951211ecc9df1fcd4460679da83;hp=faef6b6520adc59d9f6d5e7ef88fe56c9c02a77a;p=mono.git [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. --- 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 "$@"