aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Bind/FileTransfer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/Bind/FileTransfer.cs')
-rw-r--r--src/WixToolset.Data/Bind/FileTransfer.cs19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/WixToolset.Data/Bind/FileTransfer.cs b/src/WixToolset.Data/Bind/FileTransfer.cs
index 088146d1..046883d8 100644
--- a/src/WixToolset.Data/Bind/FileTransfer.cs
+++ b/src/WixToolset.Data/Bind/FileTransfer.cs
@@ -64,17 +64,18 @@ namespace WixToolset.Data.Bind
64 64
65 string fileLayoutFullPath = GetValidatedFullPath(sourceLineNumbers, destination); 65 string fileLayoutFullPath = GetValidatedFullPath(sourceLineNumbers, destination);
66 66
67 // if the current source path (where we know that the file already exists) and the resolved 67 //// if the current source path (where we know that the file already exists) and the resolved
68 // path as dictated by the Directory table are not the same, then propagate the file. The 68 //// path as dictated by the Directory table are not the same, then propagate the file. The
69 // image that we create may have already been done by some other process other than the linker, so 69 //// image that we create may have already been done by some other process other than the linker, so
70 // there is no reason to copy the files to the resolved source if they are already there. 70 //// there is no reason to copy the files to the resolved source if they are already there.
71 if (String.Equals(sourceFullPath, fileLayoutFullPath, StringComparison.OrdinalIgnoreCase)) 71 //if (String.Equals(sourceFullPath, fileLayoutFullPath, StringComparison.OrdinalIgnoreCase))
72 { 72 //{
73 transfer = null; 73 // transfer = null;
74 return false; 74 // return false;
75 } 75 //}
76 76
77 transfer = new FileTransfer(source, destination, move, type, sourceLineNumbers); 77 transfer = new FileTransfer(source, destination, move, type, sourceLineNumbers);
78 transfer.Redundant = String.Equals(sourceFullPath, fileLayoutFullPath, StringComparison.OrdinalIgnoreCase);
78 return true; 79 return true;
79 } 80 }
80 81