From a724f0d425f42a1352f5a7a6a6403f27c8acd145 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 14 Mar 2007 13:36:24 -0400 Subject: [PATCH] BUG: During relative path conversion if the remote and target paths are the same return the empty string instead of ".". --- Source/cmLocalGenerator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index e20bfe105..ba6fe0264 100644 --- a/Source/cmLocalGenerator.cxx +++ b/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