Quellcode durchsuchen

BUG: Only the last extension should be removed.

Brad King vor 23 Jahren
Ursprung
Commit
df29ea087f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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);
       }