From df29ea087f5baf48ac065f39ed84472ef437edc2 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 15 Jul 2002 09:46:09 -0400 Subject: BUG: Only the last extension should be removed. --- Source/cmInstallFilesCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmInstallFilesCommand.cxx b/Source/cmInstallFilesCommand.cxx index b1dbf0d..6f45583 100644 --- a/Source/cmInstallFilesCommand.cxx +++ b/Source/cmInstallFilesCommand.cxx @@ -63,7 +63,7 @@ void cmInstallFilesCommand::FinalPass() { // replace any variables std::string temps = *s; - testf = cmSystemTools::GetFilenameWithoutExtension(temps) + ext; + testf = cmSystemTools::GetFilenameWithoutLastExtension(temps) + ext; // add to the result targetSourceLists.push_back(testf); } -- cgit v0.12