Просмотр исходного кода

BUG: Install location full-path test for windows needs to account for both lower case and upper case drive letters.

Brad King 19 лет назад
Родитель
Сommit
b6fd3b7bb1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Source/cmFileCommand.cxx

+ 1 - 1
Source/cmFileCommand.cxx

@@ -380,7 +380,7 @@ bool cmFileCommand::HandleInstallCommand(
     if ( ch1 != '/' )
       {
       int relative = 0;
-      if ( ( ch1 >= 'a' && ch1 <= 'z' || ch1 >= 'a' && ch1 <= 'z' ) &&
+      if ( ( ch1 >= 'a' && ch1 <= 'z' || ch1 >= 'A' && ch1 <= 'Z' ) &&
         ch2 == ':' )
         {
         // Assume windows