summaryrefslogtreecommitdiff
path: root/Source/cmInstallFilesCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-07-15 09:46:09 -0400
committerBrad King <brad.king@kitware.com>2002-07-15 09:46:09 -0400
commitdf29ea087f5baf48ac065f39ed84472ef437edc2 (patch)
tree8a893ea62cdf6ff98f1060747fba64bd79258209 /Source/cmInstallFilesCommand.cxx
parentc5574e096beb6136eff364f1cc5d046e8abb9302 (diff)
downloadcmake-df29ea087f5baf48ac065f39ed84472ef437edc2.tar.gz
BUG: Only the last extension should be removed.
Diffstat (limited to 'Source/cmInstallFilesCommand.cxx')
-rw-r--r--Source/cmInstallFilesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallFilesCommand.cxx b/Source/cmInstallFilesCommand.cxx
index b1dbf0df9e..6f45583347 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);
}