Browse Source

BUG: During relative path conversion if the remote and target paths are the same return the empty string instead of ".".

Brad King 18 years ago
parent
commit
a724f0d425
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmLocalGenerator.cxx

+ 2 - 2
Source/cmLocalGenerator.cxx

@@ -2222,11 +2222,11 @@ cmLocalGenerator
     return in_remote;
     }
 
-  // If the entire path is in common then just return a ".".
+  // If the entire path is in common then just return an empty string.
   if(common == remote.size() &&
      common == local.size())
     {
-    return ".";
+    return "";
     }
 
   // If the entire path is in common except for a trailing slash then