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:
Diffstat (limited to 'mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs')
-rw-r--r--mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs b/mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs
index 4e650425b75..64c29701d60 100644
--- a/mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs
+++ b/mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs
@@ -35,7 +35,7 @@ class FindProvides {
AssemblyName an = a.GetName ();
// hack to work around the issue with a 2.0 corlib
- if (s.EndsWith ("2.0/mscorlib.dll"))
+ if (s.Trim ().EndsWith ("2.0/mscorlib.dll"))
Console.WriteLine ("mono({0}) = {1}", "mscorlib", "2.0.3600.0");
else
Console.WriteLine ("mono({0}) = {1}", an.Name, an.Version);