diff options
author | Brad King <brad.king@kitware.com> | 2002-07-15 09:46:09 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-07-15 09:46:09 -0400 |
commit | df29ea087f5baf48ac065f39ed84472ef437edc2 (patch) | |
tree | 8a893ea62cdf6ff98f1060747fba64bd79258209 /Source/cmInstallFilesCommand.cxx | |
parent | c5574e096beb6136eff364f1cc5d046e8abb9302 (diff) | |
download | cmake-df29ea087f5baf48ac065f39ed84472ef437edc2.tar.gz |
BUG: Only the last extension should be removed.
Diffstat (limited to 'Source/cmInstallFilesCommand.cxx')
-rw-r--r-- | Source/cmInstallFilesCommand.cxx | 2 |
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); } |