Skip to content

Commit 8bf6313

Browse files
committed
LT22418: take flle not found; remove 
 in bat & tak
Change-Id: I2f819ca49f308d397ee0a8fbb98321c4dab2e0b9
1 parent 92fc751 commit 8bf6313

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Src/Utilities/pcpatrflex/DisambiguateInFLExDB/PCPatrInvoker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private void CreateBatchFile()
5858
sbBatchFile.Append("\\pcpatr64\" -t ");
5959
sbBatchFile.Append(takeFileName);
6060
sbBatchFile.Append("\n");
61-
string removeCRs = sbBatchFile.ToString().Replace("\r", "");
61+
string removeCRs = sbBatchFile.ToString().Replace("\r", "").Replace("
","");
6262
File.WriteAllText(BatchFile, removeCRs);
6363
Console.WriteLine("\nbatch file =");
6464
Console.WriteLine("=================================================");
@@ -155,7 +155,7 @@ private void CreateTakeFile()
155155
// since the batch fle defaults to the temp directory, we just use the invoker files as they are
156156
sbTake.Append("file disambiguate Invoker.ana Invoker.and\n");
157157
sbTake.Append("exit\n");
158-
string removeCRs = sbTake.ToString().Replace("\r", "");
158+
string removeCRs = sbTake.ToString().Replace("\r", "").Replace("
", "");
159159
File.WriteAllText(takeFile, removeCRs);
160160
AndFile = Path.Combine(Path.GetTempPath(), "Invoker.and");
161161
Console.WriteLine("\ntake file =");

0 commit comments

Comments
 (0)