From b6fd3b7bb1ef208dd2b65a00fe9fe595b414cae5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sun, 19 Feb 2006 13:08:17 -0500 Subject: [PATCH] BUG: Install location full-path test for windows needs to account for both lower case and upper case drive letters. --- Source/cmFileCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 7d6c3d020c..188af27f0e 100644 --- a/Source/cmFileCommand.cxx +++ b/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