Parcourir la source

BUG: Only the last extension should be removed.

Brad King il y a 23 ans
Parent
commit
df29ea087f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
       }