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
path: root/mcs/tools
diff options
context:
space:
mode:
authorPhil Jaenke <prj@rootwyrm.com>2019-08-02 00:42:05 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2019-08-02 00:42:05 +0300
commitfcfd3e54a5bbf0b2e0bcab3074af39021bffb206 (patch)
tree2c3f62464e16d6d60b45712218c7c13bd4966698 /mcs/tools
parent26f3df98810411b62fcf41daaff5d407df3ba7b5 (diff)
Fix patch step in mdoc tests for non-Linux (#15974)
Non-Linux systems largely do not support `--binary`. Since the patch appears to be text anyway, it's probably safe to remove for all platforms. With `patch -p0` , mdoc test now provides accurate pass/fail on FreeBSD.
Diffstat (limited to 'mcs/tools')
-rw-r--r--mcs/tools/mdoc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/tools/mdoc/Makefile b/mcs/tools/mdoc/Makefile
index 13ab3737646..21489174e2b 100644
--- a/mcs/tools/mdoc/Makefile
+++ b/mcs/tools/mdoc/Makefile
@@ -134,7 +134,7 @@ Test/DocTest.dll-v1:
Test/DocTest.dll-v2:
-rm -f Test/DocTest.cs
cp Test/DocTest-v1.cs Test/DocTest.cs
- cd Test && patch --binary -p0 < DocTest-v2.patch
+ cd Test && patch -p0 < DocTest-v2.patch
-rm -f Test/DocTest.dll
$(MAKE) TEST_CSCFLAGS=$(TEST_CSCFLAGS) Test/DocTest.dll