make check-csharp-version fix for MS compiler

This commit is contained in:
William S Fulton 2013-04-09 22:52:54 +01:00
commit 970c72b6da

View file

@ -1117,8 +1117,9 @@ csharp_compile: $(SRCS)
# Version display
# -----------------------------------------------------------------
# Version check below also works with MS csc.exe which does not understand --version
csharp_version:
$(CSHARPCOMPILER) --version || echo "Unknown C# compiler version"
$(CSHARPCOMPILER) --version | grep -i version
# -----------------------------------------------------------------
# Cleaning the CSharp examples