summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-07-15 13:46:09 (GMT)
committerBrad King <brad.king@kitware.com>2002-07-15 13:46:09 (GMT)
commitdf29ea087f5baf48ac065f39ed84472ef437edc2 (patch)
tree8a893ea62cdf6ff98f1060747fba64bd79258209 /Source
parentc5574e096beb6136eff364f1cc5d046e8abb9302 (diff)
downloadCMake-df29ea087f5baf48ac065f39ed84472ef437edc2.zip
CMake-df29ea087f5baf48ac065f39ed84472ef437edc2.tar.gz
CMake-df29ea087f5baf48ac065f39ed84472ef437edc2.tar.bz2
BUG: Only the last extension should be removed.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmInstallFilesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}