projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faef6b6
)
[scripts] Add deprecation warning to dmcs
author
Alexander Köplinger
<alex.koeplinger@outlook.com>
Fri, 19 Feb 2016 19:19:58 +0000
(20:19 +0100)
committer
Alexander Köplinger
<alex.koeplinger@outlook.com>
Mon, 22 Feb 2016 10:50:26 +0000
(11:50 +0100)
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.
scripts/dmcs.in
patch
|
blob
|
history
diff --git
a/scripts/dmcs.in
b/scripts/dmcs.in
index e86cdf9df091ca5226d28752ac9ecbf35ee6db65..223dac2e7f6edcb4ec6848e00c16e177388a4713 100755
(executable)
--- 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 "$@"