Browse Source

BUG: Only the last extension should be removed.

Brad King 23 years ago
parent
commit
df29ea087f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmInstallFilesCommand.cxx

+ 1 - 1
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);
       }