From 5649819797e851b8ca8209486c98491131fa542f Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Wed, 3 Mar 2010 12:34:32 +0000 Subject: [PATCH] 2010-03-03 Rolf Bjarne Kvinge * gensources.sh: Fix windows path separator characters. svn path=/trunk/mcs/; revision=152920 --- mcs/tools/ChangeLog | 4 ++++ mcs/tools/gensources.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mcs/tools/ChangeLog b/mcs/tools/ChangeLog index bc143f4e0b6..c9a21b20b3a 100644 --- a/mcs/tools/ChangeLog +++ b/mcs/tools/ChangeLog @@ -1,3 +1,7 @@ +2010-03-03 Rolf Bjarne Kvinge + + * gensources.sh: Fix windows path separator characters. + 2010-03-02 Rodrigo Kumpera * Makefile: Fix mdoc build. diff --git a/mcs/tools/gensources.sh b/mcs/tools/gensources.sh index 35f26814a25..2f4177d4c00 100755 --- a/mcs/tools/gensources.sh +++ b/mcs/tools/gensources.sh @@ -55,7 +55,7 @@ class GenSource { filelist.Add (onelist); foreach (string l in File.ReadAllLines (onelist)) { - string line = l.Replace (" ", "").Replace ("\t", ""); + string line = l.Replace (" ", "").Replace ("\t", "").Replace ('/', Path.DirectorySeparatorChar); if (!line.StartsWith ("#")) { if (excludelist != null && excludelist.Contains (line)) continue; -- 2.11.4.GIT