diff options
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.cs | 2 |
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); |