From 8b8766d246b47267d679155076fa3be8e5703558 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 1 Aug 2003 13:54:53 -0400 Subject: [PATCH] fix for utility command without EXECUTABLE_OUTPUT_PATH --- Source/cmUtilitySourceCommand.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmUtilitySourceCommand.cxx b/Source/cmUtilitySourceCommand.cxx index 10cefb86b..9b542dce9 100644 --- a/Source/cmUtilitySourceCommand.cxx +++ b/Source/cmUtilitySourceCommand.cxx @@ -83,6 +83,9 @@ bool cmUtilitySourceCommand::InitialPass(std::vector const& args) std::string utilityExecutable = utilityDirectory+"/"+cmakeCFGout+"/" +utilityName+cmSystemTools::GetExecutableExtension(); + + // make sure we remove any /./ in the name + cmSystemTools::ReplaceString(utilityExecutable, "/./", "/"); // Enter the value into the cache. m_Makefile->AddCacheDefinition(cacheEntry.c_str(),